#TNO_TAG_nothing_ever_happens = {
#    allowed = {
#        #original_tag = 
#    }
#    enable = {
#        date > 1967.1.1
#    }
#
#    ai_strategy = {
#		type = build_army
#		id = garrison
#		value = -1000
#	}
#
#	ai_strategy = {
#		type = build_army
#		id = paratroopers
#		value = -1000
#	}
#
#	ai_strategy = {
#		type = build_army
#		id = mountaineers
#		value = -1000
#	}
#
#	ai_strategy = {
#		type = build_army
#		id = marines
#		value = -1000
#	}
#
#	ai_strategy = {
#		type = build_army
#		id = armor
#		value = -1000
#	}
#
#	ai_strategy = {
#		type = build_army
#		id = infantry
#		value = -1000
#	}
#
#	ai_strategy = {
#		type = build_army
#		id = mobile
#		value = -1000
#	}
#
#    ai_strategy = {
#        type = force_build_armies
#        value = -1000
#    }
#
#    ai_strategy = {
#        type = ignore_army_incompetence
#        value = 1000
#    }
#
#    ai_strategy = {
#        type = min_wanted_supply_trains
#        value = 0
#    }
#
#    ai_strategy = {
#        type = min_wanted_supply_trucks
#        value = 0
#    }
#
#}

GER_optimize_divisions = {
    allowed = {
        original_tag = GER
        date > 1966.01.01
    }

    enable = {
		set_temp_variable = {
			upper_limit = 250
		}
		check_variable = {
			num_divisions > upper_limit
		}
		NOT = {
			has_global_flag = german_civil_war_goeringvic
			any_country = {
				is_ai = no
				has_decision = RUS_german_divisions_limit_150
				has_decision = RUS_german_divisions_limit_200
				has_decision = RUS_german_divisions_limit_300
				has_decision = RUS_german_divisions_limit_450
				has_decision = RUS_german_divisions_limit_600
				has_decision = RUS_german_divisions_limit_unlimited
			}
		}
	}

	abort_when_not_enabled = yes

    #abort = {
    #    has_war_with = RUS
    #}

    ai_strategy = {
        type = force_build_armies
        value = -1000
    }

    ai_strategy = {
		type = build_army
		id = cavalry
		value = -300
	}

	# ai_strategy = {
	# 	type = build_army
	# 	id = camelry
	# 	value = -300
	# }

	ai_strategy = {
		type = build_army
		id = motorized
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = armored_car
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = mechanized
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = garrison
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = suppression
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = paratroopers
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = mountaineers
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = marines
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = armor
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = light_armor
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = heavy_armor
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = medium_armor
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = modern_armor
		value = -300
	}

	ai_strategy = {
		type = build_army
		id = infantry
		value = -300
	}
}