﻿#Triggers relating to Commander Characters

commander_in_terrain_specialisation = {
	OR = {
		AND = {
			has_trait = desert_warrior
			location = {
				agot_is_desert_terrain = yes
				agot_is_desert_mountains_terrain = yes
			}
		}
		AND = {
			has_trait = jungle_stalker
			location = { agot_is_jungle_terrain = yes }
		}
		AND = {
			has_trait = open_terrain_expert
			location = {
				agot_is_farmlands_terrain = yes
				agot_is_plains_terrain = yes
				agot_is_steppe_terrain = yes
			}
		}
		AND = {
			has_trait = rough_terrain_expert
			location = {
				agot_is_hills_terrain = yes
				agot_is_mountains_terrain = yes
				agot_is_wetlands_terrain = yes
			}
		}
		AND = {
			has_trait = forest_fighter
			location = {
				agot_is_forest_terrain = yes
				agot_is_taiga_terrain = yes
			}
		}
	}
}

has_commander_trait_trigger = {
	OR = {
		has_trait = logistician
		has_trait = military_engineer
		has_trait = aggressive_attacker
		has_trait = unyielding_defender
		has_trait = forder
		has_trait = flexible_leader
		has_trait = desert_warrior
		has_trait = jungle_stalker
		has_trait = reaver
		has_trait = reckless
		has_trait = holy_warrior
		has_trait = open_terrain_expert
		has_trait = rough_terrain_expert
		has_trait = forest_fighter
		has_trait = cautious_leader
		has_trait = organizer
		has_trait = winter_soldier
	}
}
