﻿Open_BudgetCheat_Decision = {
	is_shown = {
		#always = no
		has_variable = openCheatDecision_variable
		NOT = { has_variable = BudgetCheat_variable }
		NOT = { has_variable = Open_AnyCheat_Decision_variable }
	}
	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		set_variable = BudgetCheat_variable
		set_variable = Open_AnyCheat_Decision_variable
		if = {
			limit = {
				NOT = { has_variable = DC_BudgetModifierChangeIncrase }
			}
			set_variable = {
				name = DC_BudgetModifierChangeIncrase
				value = yes
			}
		}
	}
}
Close_BudgetCheat_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
		has_variable = Open_AnyCheat_Decision_variable
	}
	possible = {

	}

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

BudgetCheat_Change_MilitaryWage_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_MilitaryWage_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_BuildingMinmumWage_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_BuildingMinmumyWage_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_GovernmentWage_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_GovernmentWage_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_WelfarePayments_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_WelfarePayments_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_TaxDividends_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_TaxDividends_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_TaxPerCapita_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_TaxPerCapita_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_TaxIncome_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_TaxIncome_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_TaxLand_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_TaxLand_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 
BudgetCheat_Change_TaxConsumption_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_Budget_TaxConsumption_Modifier
			IncraseBool = DC_BudgetModifierChangeIncrase
			multiplys = 1
		}
	}
} 

BudgetCheat_SwitchIncreaseDreacseDecision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = BudgetCheat_variable
	}

	possible = {

	}

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