﻿add_namespace = british_votes
add_namespace = british_votes_results

country_event = { # british_votes_of_1857_1
  id = british_votes.1
  title = british_votes.1.t
  desc = british_votes.1.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_highly_agree = yes 
    set_2_approval_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
	
  }

  option = { # Let's vote in a month
    name = british_votes.1.a
    country_event = {
      id = british_votes_results.1
      days = 35 
    }
  }

  option = { # Abandon the idea
    name = british_votes.1.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.1
  title = british_votes_results.1.t
  desc = british_votes_results.1.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.1.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
				 129 = { 
				    add_extra_state_shared_building_slots = 1
					}
				 128 = {
				    add_extra_state_shared_building_slots = 1
					}
				 hidden_effect = { 
				     add_timed_idea = {
				            idea = ENG_idea_inclosure_act
				            days = 720
						}
					}
			}
	if = {
        limit = {
		         has_government  = centrism
				 }
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
				 129 = { 
				    add_extra_state_shared_building_slots = 1
					}
				 128 = {
				    add_extra_state_shared_building_slots = 1
					}
				 hidden_effect = { 
				     add_timed_idea = {
				            idea = ENG_idea_inclosure_act
				            days = 720
						}
					}
                }
            }

  option = { # It's a failure...
    name = british_votes_results.1.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.1.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_2
  id = british_votes.2
  title = british_votes.2.t
  desc = british_votes.2.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.2.a
    country_event = {
      id = british_votes_results.2
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.2.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.2
  title = british_votes_results.2.t
  desc = british_votes_results.2.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.2.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
				 add_stability = 0.05
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
				 add_popularity = { ideology = fundamentalism popularity = -0.04 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
				 add_stability = 0.05
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
				 add_popularity = { ideology = fundamentalism popularity = -0.04 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.2.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.2.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_3
  id = british_votes.3
  title = british_votes.3.t
  desc = british_votes.3.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.3.a
    country_event = {
      id = british_votes_results.3
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.3.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.3
  title = british_votes_results.3.t
  desc = british_votes_results.3.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.3.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_political_power = 20
	add_popularity = { ideology = traditional_conservatism popularity = 0.02 }
	if = {
        limit = {
		         has_government = traditional_conservatism
				 }
				 add_political_power = 100
				 add_stability = 0.1
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 100
				 add_stability = 0.1
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.3.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.3.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_4
  id = british_votes.4
  title = british_votes.4.t
  desc = british_votes.4.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.4.a
    country_event = {
      id = british_votes_results.4
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.4.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.4
  title = british_votes_results.4.t
  desc = british_votes_results.4.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.4.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	RAJ = {
		hidden_effect = {
       add_autonomy_score = { value = -200 }
    }
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.4.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.4.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_5
  id = british_votes.5
  title = british_votes.5.t
  desc = british_votes.5.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.5.a
    country_event = {
      id = british_votes_results.5
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.5.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.5
  title = british_votes_results.5.t
  desc = british_votes_results.5.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.5.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_political_power = 100
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.5.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.5.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

   }
}

country_event = { # british_votes_of_1857_6
  id = british_votes.6
  title = british_votes.6.t
  desc = british_votes.6.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.6.a
    country_event = {
      id = british_votes_results.6
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.6.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.6
  title = british_votes_results.6.t
  desc = british_votes_results.6.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.6.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.05
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.6.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.6.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_7
  id = british_votes.7
  title = british_votes.7.t
  desc = british_votes.7.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.7.a
    country_event = {
      id = british_votes_results.7
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.7.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.7
  title = british_votes_results.7.t
  desc = british_votes_results.7.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.7.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.1
	add_popularity = { ideology = centrism popularity = 0.05 }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }
	
  option = { # It's a failure...
    name = british_votes_results.7.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.7.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_8
  id = british_votes.8
  title = british_votes.8.t
  desc = british_votes.8.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.8.a
    country_event = {
      id = british_votes_results.8
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.8.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.8
  title = british_votes_results.8.t
  desc = british_votes_results.8.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.8.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.05
	add_political_power = 30
	add_popularity = { ideology = social_egalitarianism popularity = 0.03 }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
				 hidden_effect = {
			           add_to_variable = { var = ENG_worker_unrest value = -1 }
			}
		}
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
				 hidden_effect = {
			           add_to_variable = { var = ENG_worker_unrest value = -1 }
        }
    }
}

  option = { # It's a failure...
    name = british_votes_results.8.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.8.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_9
  id = british_votes.9
  title = british_votes.9.t
  desc = british_votes.9.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.9.a
    country_event = {
      id = british_votes_results.9
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.9.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.9
  title = british_votes_results.9.t
  desc = british_votes_results.9.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.9.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_ideas = ENG_idea_act_coal_mine_regulation
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.9.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.9.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_10
  id = british_votes.10
  title = british_votes.10.t
  desc = british_votes.10.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.10.a
    country_event = {
      id = british_votes_results.10
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.10.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.10
  title = british_votes_results.10.t
  desc = british_votes_results.10.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.10.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_ideas = ENG_idea_act_food_drink_adulteration
	if = {
        limit = {
		         has_government = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }


  option = { # It's a failure...
    name = british_votes_results.10.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.10.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_12
  id = british_votes.12
  title = british_votes.12.t
  desc = british_votes.12.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.12.a
    country_event = {
      id = british_votes_results.12
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.12.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.12
  title = british_votes_results.12.t
  desc = british_votes_results.12.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.12.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = -0.05
	random_owned_controlled_state = { 
		limit = {
			is_island_state = no
			is_in_home_area = yes
		}
		add_extra_state_shared_building_slots = 2
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.12.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.12.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_13
  id = british_votes.13
  title = british_votes.13.t
  desc = british_votes.13.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.13.a
    country_event = {
      id = british_votes_results.13
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.13.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.13
  title = british_votes_results.13.t
  desc = british_votes_results.13.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.13.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.02
	add_political_power = 40
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.13.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.13.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_14
  id = british_votes.14
  title = british_votes.14.t
  desc = british_votes.14.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.14.a
    country_event = {
      id = british_votes_results.14
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.14.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.14
  title = british_votes_results.14.t
  desc = british_votes_results.14.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.14.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	random_owned_controlled_state = { 
		limit = {
			is_island_state = no
			is_in_home_area = yes
			free_building_slots = {
				building = infrastructure
				size > 0
			}
		}
		add_building_construction = {
			type = infrastructure
			level = 1
			instant_build = yes
		}
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.14.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.14.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_15
  id = british_votes.15
  title = british_votes.15.t
  desc = british_votes.15.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.15.a
    country_event = {
      id = british_votes_results.15
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.15.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.15
  title = british_votes_results.15.t
  desc = british_votes_results.15.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.15.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
				limit = {
					NOT = { has_tech = iron_railways }
				}
				set_technology = { iron_railways = 1 }
			}
			else_if = {
				limit = {
					NOT = { has_tech = steel_railways }
				}
				set_technology = { steel_railways = 1 }
			}
			else_if = {
				limit = {
					NOT = { has_tech = standardized_gauge }
				}
				set_technology = { standardized_gauge = 1 }
			}
			else = {
				add_tech_bonus = { bonus = 0.3 uses = 1 category = mechanical_engineering_tech }
			}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.15.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.15.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_16
  id = british_votes.16
  title = british_votes.16.t
  desc = british_votes.16.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.16.a
    country_event = {
      id = british_votes_results.16
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.16.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.16
  title = british_votes_results.16.t
  desc = british_votes_results.16.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.16.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_ideas = ENG_idea_act_medical_1
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
				 hidden_effect = { 
				     add_timed_idea = {
				            idea = ENG_idea_the_medical_act
				            days = 180
						}
					}
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
				 hidden_effect = { 
				     add_timed_idea = {
				            idea = ENG_idea_the_medical_act
				            days = 180
						}
					}
        }
    }

  option = { # It's a failure...
    name = british_votes_results.16.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.16.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_11
  id = british_votes.11
  title = british_votes.11.t
  desc = british_votes.11.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.11.a
    country_event = {
      id = british_votes_results.11
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.11.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.11
  title = british_votes_results.11.t
  desc = british_votes_results.11.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.11.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_political_power = 50
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.11.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.11.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_17
  id = british_votes.17
  title = british_votes.17.t
  desc = british_votes.17.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.11.a
    country_event = {
      id = british_votes_results.17
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.17.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.17
  title = british_votes_results.17.t
  desc = british_votes_results.17.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.17.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_popularity = { ideology = centrism popularity = 0.05 }
	add_popularity = { ideology = traditional_conservatism popularity = 0.05 }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.17.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.17.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_18
  id = british_votes.18
  title = british_votes.18.t
  desc = british_votes.18.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.18.a
    country_event = {
      id = british_votes_results.18
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.18.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.18
  title = british_votes_results.18.t
  desc = british_votes_results.18.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.18.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.02
	add_political_power = 100
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.18.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.18.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_19
  id = british_votes.19
  title = british_votes.19.t
  desc = british_votes.19.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.19.a
    country_event = {
      id = british_votes_results.19
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.19.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.19
  title = british_votes_results.19.t
  desc = british_votes_results.19.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.19.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.05
  add_power_balance_value = {
    id = ENG_Balance_of_Power_Parliament
    value = -0.1
    tooltip_side = ENG_BOP_House_of_Commons_Strength
  }
	if = {
		limit = {
			has_government = centrism
		}
		add_popularity = { ideology = centrism popularity = 0.05 }
	}
	else_if = {
		limit = {
			has_government = traditional_conservatism
		}
		add_popularity = { ideology = traditional_conservatism popularity = 0.05 }
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.19.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.19.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_20
  id = british_votes.20
  title = british_votes.20.t
  desc = british_votes.20.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.20.a
    country_event = {
      id = british_votes_results.20
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.20.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.20
  title = british_votes_results.20.t
  desc = british_votes_results.20.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.20.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_opinion_modifier = { target = AST modifier = eoanb_om_prisoner_act_ENG_AST }
	reverse_add_opinion_modifier = { target = AST modifier = eoanb_om_prisoner_act_ENG_AST }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.20.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.20.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_21
  id = british_votes.21
  title = british_votes.21.t
  desc = british_votes.21.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.21.a
    country_event = {
      id = british_votes_results.21
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.21.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.21
  title = british_votes_results.21.t
  desc = british_votes_results.21.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.21.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_ideas = ENG_idea_act_elementary_education
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.21.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.21.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_22
  id = british_votes.22
  title = british_votes.22.t
  desc = british_votes.22.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.22.a
    country_event = {
      id = british_votes_results.22
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.22.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.22
  title = british_votes_results.22.t
  desc = british_votes_results.22.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.22.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	custom_effect_tooltip = eoanb_tt_british_votes_results_22_a
	hidden_effect = {
		add_to_variable = { var = ENG_irish_unrest value = 5 }
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.22.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.22.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_23
  id = british_votes.23
  title = british_votes.23.t
  desc = british_votes.23.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.23.a
    country_event = {
      id = british_votes_results.23
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.23.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.23
  title = british_votes_results.23.t
  desc = british_votes_results.23.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.23.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	119 = { add_extra_state_shared_building_slots = 1 }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }


  option = { # It's a failure...
    name = british_votes_results.23.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.23.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_24
  id = british_votes.24
  title = british_votes.24.t
  desc = british_votes.24.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.24.a
    country_event = {
      id = british_votes_results.24
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.24.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.24
  title = british_votes_results.24.t
  desc = british_votes_results.24.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.24.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	random_owned_controlled_state = { 
		limit = {
			is_island_state = no
			is_in_home_area = yes
			free_building_slots = {
				building = infrastructure
				size > 0
			}
		}
		add_building_construction = {
			type = infrastructure
			level = 1
			instant_build = yes
		}
	}
	random_owned_controlled_state = { 
		limit = {
			is_island_state = no
			is_in_home_area = yes
			free_building_slots = {
				building = infrastructure
				size > 0
			}
		}
		add_building_construction = {
			type = infrastructure
			level = 1
			instant_build = yes
		}
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.24.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.24.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_25
  id = british_votes.25
  title = british_votes.25.t
  desc = british_votes.25.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.25.a
    country_event = {
      id = british_votes_results.25
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.25.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.25
  title = british_votes_results.25.t
  desc = british_votes_results.25.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.25.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_tech_bonus = { bonus = 0.5 uses = 1 category = transport_tech }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.25.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.25.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

#Get Parliamentary Approval for Anglo-Prussian Naval Treaty - UK
country_event = {
	id = british_votes.26
	title = british_votes.26.t
	desc = british_votes.26.d
	picture = GFX_report_event_uk_parliament

	is_triggered_only = yes

	immediate = {
		set_variable = { 
			var = current_reform_id
			value = 1   
		}

		reset_approval_arrays = yes 
		set_1_approval_disagree = yes 
		set_2_approval_agree = yes 
		set_3_approval_agree = yes 
		set_4_approval_highly_agree = yes 

		set_vote_war = yes
		compute_voting_approval = yes

		compute_number_seats_tot = yes 
		compute_number_seats_approve_est = yes
	}

	option = { # Let's vote in a month
		name = british_votes.26.a
		ai_chance = { base = 100 }
		
		country_event = {
			id = british_votes_results.26
			days = 35 
		}
	}

	option = { # Abandon the idea
		name = british_votes.26.b
		ai_chance = { base = 0 }
		
		add_stability = -0.05
		if = {
			limit = {
				has_government = traditional_conservatism
			}
			add_popularity = { ideology = traditional_conservatism popularity = -0.05 }
			add_political_power = -50
		}
		else_if = {
			limit = {
				has_government = centrism
			}
			add_popularity = { ideology = centrism popularity = -0.05 }
			add_political_power = -50
		}
		else = {
			add_political_power = -100
		}
		
		set_variable = { 
			var = current_reform_id
			value = 0
		}
	}
}

#Results of Vote on Parliamentary Approval for Anglo-Prussian Naval Treaty - UK
country_event = {
	id = british_votes_results.26
	title = british_votes_results.26.t
	desc = british_votes_results.26.d
	picture = GFX_report_event_prussian_parliament_king

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			calculate_vote_result = yes
		}
	}

	option = { # It's a success !
		name = british_votes_results.26.a
		trigger = {
			has_country_flag = eoanb_reform_vote_success
		}
		clr_country_flag = eoanb_reform_vote_success
		enact_voted_reform = yes
		
		ENG = {
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				add_popularity = { ideology = centrism popularity = 0.01 }
			}
			if = {
				limit = {
					has_government = centrism
				}
				add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				add_popularity = { ideology = centrism popularity = -0.01 }
			}
		}
		
		PRS = { country_event = { days = 1 id = prussia.847 } }
		
		set_variable = { 
			var = current_reform_id
			value = 0
		}
    }

	option = { # It's a failure...
		name = british_votes_results.26.b
		trigger = {
			has_country_flag = eoanb_reform_vote_failure
		}
		clr_country_flag = eoanb_reform_vote_failure

		ENG = {
			add_political_power = -50
			if = {
				limit = {
					has_government = traditional_conservatism
				}
				add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				add_popularity = { ideology = centrism popularity = 0.01 }
			}
			if = {
				limit = {
					has_government = centrism
				}
				add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				add_popularity = { ideology = centrism popularity = -0.01 }
			}
		}
		
		PRS = { country_event = { days = 1 id = prussia.848 } }
		
		set_variable = { 
			var = current_reform_id
			value = 0
		}
    }

	option = { # It's a tie...
		name = british_votes_results.26.c
		trigger = {
			has_country_flag = eoanb_reform_vote_tie
		}
		clr_country_flag = eoanb_reform_vote_tie
		
		ENG = { add_political_power = -25 }
		
		PRS = { country_event = { days = 1 id = prussia.848 } }
		
		set_variable = { 
			var = current_reform_id
			value = 0
		}
	}
}

country_event = { # british_votes_of_1857_27
  id = british_votes.27
  title = british_votes.27.t
  desc = british_votes.27.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.27.a
    country_event = {
      id = british_votes_results.27
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.27.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.27
  title = british_votes_results.27.t
  desc = british_votes_results.27.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.27.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.05
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.27.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.27.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_28
  id = british_votes.28
  title = british_votes.28.t
  desc = british_votes.28.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.28.a
    country_event = {
      id = british_votes_results.28
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.28.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.28
  title = british_votes_results.28.t
  desc = british_votes_results.28.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.28.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_stability = 0.05
  add_war_support = -0.05
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.28.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.28.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_29
  id = british_votes.29
  title = british_votes.29.t
  desc = british_votes.29.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.29.a
    country_event = {
      id = british_votes_results.29
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.29.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.29
  title = british_votes_results.29.t
  desc = british_votes_results.29.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.29.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_tech_bonus = { bonus = 0.5 uses = 1 category = humanities_tech }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.29.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.29.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_30
  id = british_votes.30
  title = british_votes.30.t
  desc = british_votes.30.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.30.a
    country_event = {
      id = british_votes_results.30
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.30.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.30
  title = british_votes_results.30.t
  desc = british_votes_results.30.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.30.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.30.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.30.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN

  }
}

country_event = { # british_votes_of_1857_31
  id = british_votes.31
  title = british_votes.31.t
  desc = british_votes.31.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.31.a
    country_event = {
      id = british_votes_results.31
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.31.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.31
  title = british_votes_results.31.t
  desc = british_votes_results.31.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.31.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_tech_bonus = { bonus = 0.25 uses = 1 category = health_tech }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.31.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.31.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_32
  id = british_votes.32
  title = british_votes.32.t
  desc = british_votes.32.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.32.a
    country_event = {
      id = british_votes_results.32
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.32.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.32
  title = british_votes_results.32.t
  desc = british_votes_results.32.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.32.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_political_power = 100
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.32.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.32.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_33
  id = british_votes.33
  title = british_votes.33.t
  desc = british_votes.33.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.33.a
    country_event = {
      id = british_votes_results.33
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.33.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.33
  title = british_votes_results.33.t
  desc = british_votes_results.33.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.33.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_political_power = 25
  add_stability = 0.1
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.33.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.33.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_34
  id = british_votes.34
  title = british_votes.34.t
  desc = british_votes.34.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.34.a
    country_event = {
      id = british_votes_results.34
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.34.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.34
  title = british_votes_results.34.t
  desc = british_votes_results.34.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.34.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.34.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.34.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_35
  id = british_votes.35
  title = british_votes.35.t
  desc = british_votes.35.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.35.a
    country_event = {
      id = british_votes_results.35
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.35.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.35
  title = british_votes_results.35.t
  desc = british_votes_results.35.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.35.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    add_power_balance_value = {
			id = ENG_Balance_of_Power_Parliament
			value = -0.1
			tooltip_side = ENG_BOP_House_of_Commons_Strength
		}
    if = {
		limit = {
			has_idea = absolutism
		}
		swap_ideas = {
			remove_idea = absolutism
			add_idea = oligarchism
		}
	}
	else_if = {
		limit = {
			has_idea = oligarchism
		}
		swap_ideas = {
			remove_idea = oligarchism
			add_idea = parliamentary_suffrage
		}
	}
	else_if = {
		limit = {
			has_idea = parliamentary_suffrage
		}
		swap_ideas = {
			remove_idea = parliamentary_suffrage
			add_idea = property_owners_suffrage
		}
	}
	else_if = {
		limit = {
			has_idea = property_owners_suffrage
		}
		swap_ideas = {
			remove_idea = property_owners_suffrage
			add_idea = universal_male_suffrage
		}
	}
	else_if = {
		limit = {
			has_idea = universal_male_suffrage
		}
		swap_ideas = {
			remove_idea = universal_male_suffrage
			add_idea = universal_suffrage
		}
	}
	else = {
		add_political_power = -50
		add_stability = 0.01
    add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
	}
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.35.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.35.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_36
  id = british_votes.36
  title = british_votes.36.t
  desc = british_votes.36.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.36.a
    country_event = {
      id = british_votes_results.36
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.36.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.36
  title = british_votes_results.36.t
  desc = british_votes_results.36.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.36.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    add_tech_bonus = { bonus = 1 uses = 1 category = energy_production_tech }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.36.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.36.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_37
  id = british_votes.37
  title = british_votes.37.t
  desc = british_votes.37.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.37.a
    country_event = {
      id = british_votes_results.37
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.37.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.37
  title = british_votes_results.37.t
  desc = british_votes_results.37.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.37.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
		add_political_power = 50
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.37.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.37.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}

country_event = { # british_votes_of_1857_38
  id = british_votes.38
  title = british_votes.38.t
  desc = british_votes.38.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    set_variable = { 
      var = current_reform_id
      value = 1    
    }

    reset_approval_arrays = yes 
    set_1_approval_agree = yes 
    set_2_approval_highly_disagree = yes 
    set_3_approval_neutral = yes 
    set_4_approval_highly_agree = yes 

    set_vote_eco = yes
    compute_voting_approval = yes 

    compute_number_seats_tot = yes 
    compute_number_seats_approve_est = yes
  }

  option = { # Let's vote in a month
    name = british_votes.38.a
    country_event = {
      id = british_votes_results.38
      days = 35
    }
  }

  option = { # Abandon the idea
    name = british_votes.38.b

    set_variable = { 
      var = current_reform_id
      value = 0
    }
  }
}

country_event = { # Vote on the reform
  id = british_votes_results.38
  title = british_votes_results.38.t
  desc = british_votes_results.38.d
  picture = GFX_report_event_uk_parliament

  is_triggered_only = yes

  immediate = {
    hidden_effect = {
      calculate_vote_result = yes
    }
  }

  option = { # It's a success !
    name = british_votes_results.38.a
    trigger = {
      has_country_flag = eoanb_reform_vote_success
    }
    clr_country_flag = eoanb_reform_vote_success
    enact_voted_reform = yes

    set_variable = { 
      var = current_reform_id
      value = 0
    }
		add_political_power = 50
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = 50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # It's a failure...
    name = british_votes_results.38.b
    trigger = {
      has_country_flag = eoanb_reform_vote_failure
    }
    clr_country_flag = eoanb_reform_vote_failure

    set_variable = { 
      var = current_reform_id
      value = 0
    }
	if = {
        limit = {
		         has_government  = traditional_conservatism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = -0.01 }
				 add_popularity = { ideology = centrism popularity = 0.01 }
    }
	if = {
        limit = {
		         has_government  = centrism
				 }
				 add_political_power = -50
	             add_popularity = { ideology = traditional_conservatism popularity = 0.01 }
				 add_popularity = { ideology = centrism popularity = -0.01 }
        }
    }

  option = { # This is somehow worse than a failure
    name = british_votes_results.38.c
    trigger = {
      has_country_flag = eoanb_reform_vote_tie
    }
    clr_country_flag = eoanb_reform_vote_tie

    set_variable = { 
      var = current_reform_id
      value = 0
    }
    ## MAYBE RESTART THE 2 WEEKS VOTING PROCESS AGAIN
  }
}