﻿hth_trait_amount = {
	value = number_of_traits
}
hth_virtuous_trait_amount = {
	value = num_virtuous_traits 
}
hth_lifestyle_trait_amount = {
	value = number_of_lifestyle_traits
}
hth_friends_amount = {
	value = num_of_relation_friend
}
hth_rivals_amount = {
	value = num_of_relation_rival
}
hth_languages_amount = {
	value = num_of_known_languages
}
hth_realm_size_amount = {
	value = realm_size
}
hth_legitimacy_level_amount = {
	value = legitimacy_level
}
hth_legend_seed_amount = {
	value = num_triggered_legend_seeds
}
hth_knights_amount = {
	value = number_of_knights
}
hth_battles_won_amount = {
	value = var:hth_battles_won_counter
}
hth_gold_amount = {
	value = gold
	floor = yes
}
hth_genetic_traits_amount = {
	value = 0
	add = num_of_good_genetic_traits
	add = num_of_bad_genetic_traits
}
hth_known_secrets_amount = {
	value = 0
	every_courtier = {
		#limit = { is_in_the_same_court_as = root }
		add = 1
	}
}
hth_living_children_amount = {
	value = 0
	every_child = {
		limit = { 
			is_child_of = root
			is_alive = yes
		}
		add = 1
	}
}
hth_living_house_members_amount = {
	value = 0
	house ?= {
		every_house_member = {
			limit = { 
				is_alive = yes
			}
			add = 1
		}
	}
}
hth_scared_vassals_amount = {
	value = 0
	every_vassal = {
		limit = { 
			has_dread_level_towards = {
				target = root
				level >= 1
			}
		}
		add = 1
	}
}
hth_scared_councillors_house_members_amount = {
	value = 0
	house ?= {
		every_house_member = {
			limit = { 
				is_councillor_of = root
				has_dread_level_towards = {
					target = root
					level >= 1
				}
			}
			add = 1
		}
	}
}
hth_vassals_with_different_culture_amount = {
	value = 0
	every_vassal = {
		limit = { 
			NOT = { has_culture = root.culture }
		}
		add = 1
	}
}
hth_powerful_vassals_with_different_faith_amount = {
	value = 0
	every_powerful_vassal = {
		limit = { 
			has_vassal_stance = minority
		}
		add = 1
	}
}
hth_prisoners_with_different_faith_amount = {
	value = 0
	every_prisoner = {
		limit = { 
			NOT = { has_faith = root.faith }
		}
		add = 1
	}
}
hth_dynasty_kingdoms_amount = { 
	value = 0
	dynasty ?= {
		every_dynasty_member = {
			limit = {
				highest_held_title_tier = tier_kingdom
			}
			add = 1
		}
	}
}
hth_dynasty_duchies_amount = { 
	value = 0
	dynasty ?= {
		every_dynasty_member = {
			limit = {
				highest_held_title_tier = tier_duchy
			}
			add = 1
		}
	}
}
hth_dynasty_genetic_traits_amount = {
	value = 0
	dynasty ?= {
		every_dynasty_member = {
			limit = {
				OR = {
					num_of_good_genetic_traits >= 1
					num_of_bad_genetic_traits >= 1
				}
			}
			add = 1
		}
	}
}
hth_dynasty_shieldmaidens_amount = {
	value = 0
	dynasty ?= {
		every_dynasty_member = {
			limit = { 
				has_trait = shieldmaiden
			}
			add = 1
		}
	}
}
hth_dynasty_commanders_amount = {
	value = 0
	dynasty ?= {
		every_dynasty_member = {
			limit = { 
				number_of_commander_traits >= 2
			}
			add = 1
		}
	}
}
hth_dynasty_raiders_amount = {
	value = 0
	dynasty ?= {
		every_dynasty_member = {
			limit = { 
				has_trait = viking
			}
			add = 1
		}
	}
}
hth_capital_development_value = {
	value = 0
	capital_county = { add = development_level }
}
hth_court_grandeur_value = {
	value = court_grandeur_current
	round = yes
}