SBI_PassBills_decision_category = {

	SBI_PARLIAMENT_ELECTIONS_ask_HUMANISTS = {

		priority = 100

		icon = hol_exchange_intelligence_data
		cost = 15
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_country_flag = SBI_PASSLAW_ACTIVE
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}

		remove_effect = {
			SBI_SUPPORT_OF_HUMANISTS_PLUS_3 = yes
			custom_effect_tooltip = LAW_PASS_HUMANISTS_YES_5_tt
			add_to_variable = { LAW_PASS_HUMANISTS_YES = 5 }
			SBI_PASSBILL_changes = yes
		}

		days_remove = 7
		days_re_enable = 1
	}

	SBI_PARLIAMENT_ELECTIONS_ask_MODERNISTS = {

		priority = 96

		icon = hol_exchange_intelligence_data
		cost = 15
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_country_flag = SBI_PASSLAW_ACTIVE
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}

		remove_effect = {
			SBI_SUPPORT_OF_MODERNISTS_PLUS_3 = yes
			custom_effect_tooltip = LAW_PASS_MODERNISTS_YES_5_tt
			add_to_variable = { LAW_PASS_MODERNISTS_YES = 5 }
			SBI_PASSBILL_changes = yes
		}

		days_remove = 7
		days_re_enable = 1
	}

	SBI_PARLIAMENT_ELECTIONS_bribe_BASTILIARS = {

		priority = 100

		icon = gre_investment_decisions
		cost = 45
		allowed = {
			original_tag = SBI
		}

		visible = {
			has_country_flag = SBI_PASSLAW_ACTIVE
		}

		fire_only_once = no

		ai_will_do = {
			factor = 0
		}

		remove_effect = {
			SBI_SUPPORT_OF_DECEMBRISTS_MINUS_1 = yes
			custom_effect_tooltip = LAW_PASS_BASTILARDS_YES_7_tt
			add_to_variable = { LAW_PASS_BASTILARDS_YES = 7 }
			SBI_pasternak_PARL_UNITY_minus_5 = yes
			SBI_PASSBILL_changes = yes
		}

		days_remove = 14
		days_re_enable = 1
	}

	SBI_PassBills_mission = {

		priority = 500

		icon = eng_trade_unions_support

		is_good = yes

		activation = {
			has_country_flag = SBI_PASSLAW_ACTIVE
		}

		cancel_trigger = {
			NOT = { has_country_flag = SBI_PASSLAW_ACTIVE }
		}

		allowed = {
			tag = SBI
		}

		available = {
			always = no
		}

		timeout_effect = {
			if = {
				limit = {
					check_variable = { PassBill_SBI_Progress > 100 }
				}
				custom_effect_tooltip = SBI_PASSBILL_WILL_BE_tt

				if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 0 } }
					country_event = { id = SBI.3201 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 1 } }
					country_event = { id = SBI.3202 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 2 } }
					country_event = { id = SBI.3203 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 3 } }
					country_event = { id = SBI.3204 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 4 } }
					country_event = { id = SBI.3205 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 5 } }
					country_event = { id = SBI.3206 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 6 } }
					country_event = { id = SBI.3207 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 10 } }
					country_event = { id = SBI.3807 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 11 } }
					country_event = { id = SBI.3808 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 12 } }
					country_event = { id = SBI.3809 days = 1 }
				}
				else_if = {
					limit = { check_variable = { SBI_CURRENT_PASSBILL = 13 } }
					country_event = { id = SBI.6007 days = 1 }
				}

			}
			else = {
				custom_effect_tooltip = SBI_PASSBILL_WONT_BE_tt
				add_political_power = -30
				clr_country_flag = SBI_PASSLAW_ACTIVE
			}

			clr_country_flag = SBI_PASSLAW_ACTIVE
		}

		days_mission_timeout = 30
	}
}