
#CommanderTraitBeingTaught - The name of the Commander Trait being taught by a given instance of the Learning Commander Trait chain.

#CommanderTraitSkillDescription - Used as a generic description in-text to describe what a potential teacher wants to teach you.



CommanderTraitBeingTaught = {
	type = character
	
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:logistician
		}
		localization_key = trait_logistician_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:military_engineer
		}
		localization_key = trait_military_engineer_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:aggressive_attacker
		}
		localization_key = trait_aggressive_attacker_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:unyielding_defender
		}
		localization_key = trait_unyielding_defender_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:forder
		}
		localization_key = trait_forder_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:flexible_leader
		}
		localization_key = trait_flexible_leader_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:desert_warrior
		}
		localization_key = trait_desert_warrior_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:winter_soldier
		}
		localization_key = trait_winter_soldier_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:jungle_stalker
		}
		localization_key = trait_jungle_stalker_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:reaver
		}
		localization_key = trait_reaver_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:reckless
		}
		localization_key = trait_reckless_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:holy_warrior
		}
		localization_key = trait_holy_warrior_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:open_terrain_expert
		}
		localization_key = open_terrain_expert_skill_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:rough_terrain_expert
		}
		localization_key = rough_terrain_expert_skill_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:forest_fighter
		}
		localization_key = forest_fighter_skill_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:cautious_leader
		}
		localization_key = cautious_leader_skill_tooltip
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:organizer
		}
		localization_key = organizer_skill_tooltip
	}
}

CommanderTraitBeingTaughtNoTooltip = {
	type = character
	
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:logistician
		}
		localization_key = trait_logistician
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:military_engineer
		}
		localization_key = trait_military_engineer
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:aggressive_attacker
		}
		localization_key = trait_aggressive_attacker
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:unyielding_defender
		}
		localization_key = trait_unyielding_defender
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:forder
		}
		localization_key = trait_forder
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:flexible_leader
		}
		localization_key = trait_flexible_leader
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:desert_warrior
		}
		localization_key = trait_desert_warrior
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:winter_soldier
		}
		localization_key = trait_winter_soldier
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:jungle_stalker
		}
		localization_key = trait_jungle_stalker
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:reaver
		}
		localization_key = trait_reaver
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:reckless
		}
		localization_key = trait_reckless
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:holy_warrior
		}
		localization_key = trait_holy_warrior
	}
}

CommanderTraitSkillDescription = {
	type = character

	text = {
		trigger = {
			var:commander_trait_being_taught = flag:logistician
		}
		localization_key = logistician_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:military_engineer
		}
		localization_key = military_engineer_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:aggressive_attacker
		}
		localization_key = aggressive_attacker_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:unyielding_defender
		}
		localization_key = unyielding_defender_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:forder
		}
		localization_key = forder_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:flexible_leader
		}
		localization_key = flexible_leader_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:desert_warrior
		}
		localization_key = desert_warrior_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:winter_soldier
		}
		localization_key = winter_soldier_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:jungle_stalker
		}
		localization_key = jungle_stalker_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:reaver
		}
		localization_key = reaver_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:reckless
		}
		localization_key = reckless_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:holy_warrior
		}
		localization_key = holy_warrior_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:open_terrain_expert
		}
		localization_key = open_terrain_expert_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:rough_terrain_expert
		}
		localization_key = rough_terrain_expert_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:forest_fighter
		}
		localization_key = forest_fighter_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:cautious_leader
		}
		localization_key = cautious_leader_skill_desc
	}
	text = {
		trigger = {
			var:commander_trait_being_taught = flag:organizer
		}
		localization_key = organizer_skill_desc
	}
}

WarhorseStoryName = {
	type = character
	
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:tencendur
			}
		}
		localization_key = warhorse_name_tencendur
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:bucephalus
			}
		}
		localization_key = warhorse_name_bucephalus
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:seianian
			}
		}
		localization_key = warhorse_name_seianian
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:zuljanah
			}
		}
		localization_key = warhorse_name_zuljanah
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:red_hare
			}
		}
		localization_key = warhorse_name_red_hare
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:veillantif
			}
		}
		localization_key = warhorse_name_veillantif
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:incitatus
			}
		}
		localization_key = warhorse_name_incitatus
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:llamrei
			}
		}
		localization_key = warhorse_name_llamrei
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:sleipnir
			}
		}
		localization_key = warhorse_name_sleipnir
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:uchchaihshravas
			}
		}
		localization_key = warhorse_name_uchchaihshravas
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:dadhi_kra
			}
		}
		localization_key = warhorse_name_dadhi_kra
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:devadatta
			}
		}
		localization_key = warhorse_name_devadatta
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:keshi
			}
		}
		localization_key = warhorse_name_keshi
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:kanthaka
			}
		}
		localization_key = warhorse_name_kanthaka
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:haizum
			}
		}
		localization_key = warhorse_name_haizum
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:buraq
			}
		}
		localization_key = warhorse_name_buraq
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:burko
			}
		}
		localization_key = warhorse_name_burko
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:aranjagaan
			}
		}
		localization_key = warhorse_name_aranjagaan
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:balius
			}
		}
		localization_key = warhorse_name_balius
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:xanthos
			}
		}
		localization_key = warhorse_name_xanthos
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:boreas
			}
		}
		localization_key = warhorse_name_boreas
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:prancer
			}
		}
		localization_key = warhorse_name_prancer
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:charger
			}
		}
		localization_key = warhorse_name_charger
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:abbot
			}
		}
		localization_key = warhorse_name_abbot
	}
	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:story_cycle_horse_name = flag:glitterhoof
			}
		}
		localization_key = warhorse_name_glitterhoof
	}
}


HorseMareStallion = {
	type = character

	text = {
		trigger = {
			is_female = yes
		}
		localization_key = horse_gender_mare
	}
	text = {
		trigger = {
			is_male = yes
		}
		localization_key = horse_gender_stallion
	}
}



#For horse story
HorseStoryHerHis = {
	type = character

	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:horse_gender = flag:female
			}
		}
		localization_key = horse_gender_her
	}
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = horse_gender_his
	}
}

HorseStoryHerHim = {
	type = character

	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:horse_gender = flag:female
			}
		}
		localization_key = horse_gender_her
	}
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = horse_gender_him
	}
}

HorseStorySheHe = {
	type = character

	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:horse_gender = flag:female
			}
		}
		localization_key = horse_gender_she
	}
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = horse_gender_he
	}
}

HorseStoryMareStallion = {
	type = character

	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:horse_gender = flag:female
			}
		}
		localization_key = horse_gender_mare
	}
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = horse_gender_stallion
	}
}

HorseStoryOppositeMareStallion = {
	type = character

	text = {
		trigger = {
			any_owned_story = {
				story_type = story_cycle_martial_lifestyle_warhorse
				var:horse_gender = flag:male
			}
		}
		localization_key = horse_gender_mare
	}
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = horse_gender_stallion
	}
}