﻿bdp_battlefield_reputation_trait = {
	category = fame
	icon = bdp_reputation_trait.dds
	shown_in_ruler_designer = no

	track = {
		25 = {
			prowess = 1
			glory_hound_opinion = 5
		}
		50 = {
			glory_hound_opinion = 5
		}
		75 = {
			glory_hound_opinion = 5
			general_opinion = 2
		}
		100 = {
			prowess = 1
			glory_hound_opinion = 5
			general_opinion = 3
		}
	}

	desc = {
		first_valid = {
			triggered_desc = {
				trigger = { NOT = { exists = this } }
				desc = trait_bdp_battlefield_reputation_trait_desc
			}
			triggered_desc = {
				trigger = {
					has_trait_xp = {
						trait = bdp_battlefield_reputation_trait
						value >= 100
					}
				}
				desc = trait_bdp_battlefield_reputation_trait_legendary_character_desc
			}
			triggered_desc = {
				trigger = {
					has_trait_xp = {
						trait = bdp_battlefield_reputation_trait
						value >= 75
					}
				}
				desc = trait_bdp_battlefield_reputation_trait_illustrious_character_desc
			}
			triggered_desc = {
				trigger = {
					has_trait_xp = {
						trait = bdp_battlefield_reputation_trait
						value >= 50
					}
				}
				desc = trait_bdp_battlefield_reputation_trait_renowned_character_desc
			}
			desc = trait_bdp_battlefield_reputation_trait_proven_character_desc
		}
	}
}
