﻿Open_NavyCheat_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		NOT = { has_variable = NavyCheat_variable }
		NOT = { has_variable = Open_AnyCheat_Decision_variable }
	}
	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		set_variable = NavyCheat_variable
		set_variable = Open_AnyCheat_Decision_variable
		if = {
			limit = {
				NOT = { has_variable = DC_NavyModifierChangeIncrase }
			}
			set_variable = {
				name = DC_NavyModifierChangeIncrase
				value = yes
			}
		}
	}
}
Close_NavyCheat_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = NavyCheat_variable
		has_variable = Open_AnyCheat_Decision_variable
	}
	possible = {

	}

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

NavyModifier_SwitchIncreaseDreacseDecision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = NavyCheat_variable
	}

	possible = {

	}

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

NavyModifier_Change_DecisionCheat_country_ship_construction_add_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = NavyCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_NavyAdjustment_country_ship_construction_add_modifier
			IncraseBool = DC_NavyModifierChangeIncrase
			multiplys = 1
		}
	}
} 

NavyModifier_Change_DecisionCheat_country_ship_construction_progress_max_add_Decision = {
	is_shown = {
		has_variable = openCheatDecision_variable
		has_variable = NavyCheat_variable
		
	}

	possible = {

	}

	ai_chance = {
		value = 0
    }
	when_taken = {
		DC_Var_ChangeModifierAutovar = {
			modifier = DecisionCheat_NavyAdjustment_country_ship_construction_progress_max_add_modifier
			IncraseBool = DC_NavyModifierChangeIncrase
			multiplys = 1
		}
	}
}
































