﻿Open_GovernmentCheat_Decision = {
	is_shown = {
		#always = no
		has_variable = openCheatDecision_variable
		NOT = { has_variable = GovernmentCheat_variable }
		NOT = { has_variable = Open_AnyCheat_Decision_variable }
	}
	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		set_variable = GovernmentCheat_variable
		set_variable = Open_AnyCheat_Decision_variable
        if = {
			limit = {
				NOT = { has_variable = DC_GovernmentModifierChangeIncrase }
			}
			set_variable = {
				name = DC_GovernmentModifierChangeIncrase
				value = yes
			}
		}
	}
}
Close_GovernmentCheat_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = GovernmentCheat_variable
		has_variable = Open_AnyCheat_Decision_variable
	}
	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		remove_variable = GovernmentCheat_variable
		remove_variable = Open_AnyCheat_Decision_variable
	}
}

Call_Election_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = GovernmentCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		call_election = {
			months = 1
		}
	}
}

DecisionCheat_country_diplomatic_reputation_add_modifier_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_country_diplomatic_reputation_add_modifier
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = 1
        }
    }
}
DecisionCheat_political_movement_radicalism_add_modifier_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_political_movement_radicalism_add_modifier
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = 1
        }
    }
}
DecisionCheat_GovernmentAdjustment_country_legitimacy_min_modifier_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_GovernmentAdjustment_country_legitimacy_min_modifier
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = 1
        }
    }
}


DecisionCheat_country_bolster_attraction_factor_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_country_bolster_attraction_factor
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = 1
        }
    }
}
DecisionCheat_country_revolution_progress_mult_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_country_revolution_progress_mult
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = -1
        }
    }
}
DecisionCheat_country_secession_progress_mult_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_country_secession_progress_mult
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = -1
        }
    }
}
DecisionCheat_country_revolution_clock_time_add_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_country_revolution_clock_time_add
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = 1
        }
    }
}
DecisionCheat_country_secession_clock_time_add_Decision = {
    is_shown = {
        has_variable = openCheatDecision_variable
        has_variable = GovernmentCheat_variable
    }

    possible = {

    }

    ai_chance = {
        value = 0
    }
    when_taken = {
        DC_Var_ChangeModifierAutovar = {
            modifier = DecisionCheat_country_secession_clock_time_add
            IncraseBool = DC_GovernmentModifierChangeIncrase
            multiplys = 1
        }
    }
}












































GovernmentModifier_SwitchIncreaseDreacseDecision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = GovernmentCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		if = {
			limit = {
				root.var:DC_GovernmentModifierChangeIncrase = yes
			}
			set_variable = {
				name = DC_GovernmentModifierChangeIncrase
				value = no
			}
		}
		else = {
			set_variable = {
				name = DC_GovernmentModifierChangeIncrase
				value = yes
			}
		}
	}
}


















