﻿Open_PopModifierCheat_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		NOT = { has_variable = PopModifierCheat_variable }
		NOT = { has_variable = Open_AnyCheat_Decision_variable }
	}
	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		set_variable = PopModifierCheat_variable
		set_variable = Open_AnyCheat_Decision_variable
		if = {
			limit = {
				NOT = { has_variable = DC_PopModifierChangeIncrase }
			}
			set_variable = {
				name = DC_PopModifierChangeIncrase
				value = yes
			}
		}
	}
}
Close_PopModifierCheat_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		has_variable = Open_AnyCheat_Decision_variable
	}
	possible = {

	}

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


PopModifier_Change_workingadultratio_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_PopAdjustment_workingadultratio_modifier
			IncraseBool = DC_PopModifierChangeIncrase
			multiplys = 1
		}
	}
} 

PopModifier_Change_dependent_wage_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_PopAdjustment_dependent_wage_modifier
			IncraseBool = DC_PopModifierChangeIncrase
			multiplys = 1
		}
	}
} 

PopModifier_Change_dependent_wage_add_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_PopAdjustment_dependent_wage_add_modifier
			IncraseBool = DC_PopModifierChangeIncrase
			multiplys = 1
		}
	}
} 

PopModifier_Change_birth_rate_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_PopAdjustment_birth_rate_add_modifier
			IncraseBool = DC_PopModifierChangeIncrase
			multiplys = 1
		}
	}
} 

PopModifier_Change_mortality_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_PopAdjustment_mortality_add_modifier
			IncraseBool = DC_PopModifierChangeIncrase
			multiplys = 1
		}
	}
} 

PopModifier_Change_standard_of_living_Modifier_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_PopAdjustment_standard_of_living_add_modifier
			IncraseBool = DC_PopModifierChangeIncrase
			multiplys = 1
		}
	}
} 




PopModifier_SwitchIncreaseDreacseDecision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = PopModifierCheat_variable
	}

	possible = {

	}

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





