﻿### ### ###################### ### ###
### ### ### NAME AND MOTTO ### ### ###
### ### ###################### ### ###

# House Name Generation
has_house_generator_essos_culture_trigger  = {
	OR = {
		agot_hf_cusloc_trigger_western_valyrian = yes
		agot_hf_cusloc_trigger_eastern_valyrian = yes
		agot_hf_cusloc_trigger_middle_valyrian = yes
		agot_hf_cusloc_trigger_far_valyrian = yes
		agot_hf_cusloc_trigger_free_city_north = yes
		agot_hf_cusloc_trigger_free_city_mid = yes
		agot_hf_cusloc_trigger_andalosi = yes
		agot_hf_cusloc_trigger_rhoynish = yes
		agot_hf_cusloc_trigger_summer_islander = yes
		agot_hf_cusloc_trigger_sarnori = yes
		agot_hf_cusloc_trigger_qaathi = yes
		agot_hf_cusloc_trigger_ibb = yes
		agot_hf_cusloc_trigger_hyrkooni = yes
		agot_hf_cusloc_trigger_ghis = yes
		agot_hf_cusloc_trigger_lhazar = yes
		agot_hf_cusloc_trigger_dothraki = yes
		agot_hf_cusloc_trigger_jade = yes
		agot_hf_cusloc_trigger_moraqi = yes
		agot_hf_cusloc_trigger_nghai = yes
		agot_hf_cusloc_trigger_sothoryi = yes
		agot_hf_cusloc_trigger_yitish = yes
		agot_hf_cusloc_trigger_shadowlanders = yes
		agot_hf_cusloc_trigger_longnightmen = yes
		agot_hf_cusloc_trigger_ancient = yes
	}
}

##### MOTTO GENERATION

# Westerosi Languages
agot_hf_has_westerosi_languange = {
	AND = {
		agot_hf_has_valyrian_languange = no
		agot_hf_has_rhoynish_languange = no
		agot_hf_has_summer_languange = no
		agot_hf_has_ghis_languange = no
		agot_hf_has_dothraki_languange = no
		agot_hf_has_qaathi_languange = no
		agot_hf_has_lhazreen_languange = no
		agot_hf_has_hyrkooni_languange = no
		agot_hf_has_sarnori_languange = no
		agot_hf_has_ibbenese_languange = no
		agot_hf_has_yitish_languange = no
		agot_hf_has_shadow_languange = no
		agot_hf_has_mythical_languange = no
	}
}

# Valyrian Languages
agot_hf_has_valyrian_languange = {
	OR = {
		agot_hf_cusloc_trigger_eastern_valyrian = yes
		agot_hf_cusloc_trigger_middle_valyrian = yes
		agot_hf_cusloc_trigger_free_city_north = yes
		agot_hf_cusloc_trigger_free_city_mid = yes
		agot_hf_cusloc_trigger_qaathi = yes
		agot_hf_cusloc_trigger_ghis = yes
	}
}

# Rhoynish Languages
agot_hf_has_rhoynish_languange = {
	OR = {
		agot_hf_cusloc_trigger_rhoynish = yes
		has_culture = culture:norvoshi
	}
}

# Summer Languages
agot_hf_has_summer_languange = {
	agot_hf_cusloc_trigger_summer_islander = yes
}

# Ghis Languages
agot_hf_has_ghis_languange = {
	agot_hf_cusloc_trigger_ghis = yes
}

# Dothraki Languages
agot_hf_has_dothraki_languange = {
	agot_hf_cusloc_trigger_dothraki = yes
}

# Qaathi Languages
agot_hf_has_qaathi_languange = {
	agot_hf_cusloc_trigger_qaathi = yes
}

# Lhazreen Languages
agot_hf_has_lhazreen_languange = {
	agot_hf_cusloc_trigger_lhazar = yes
}

# Hyrkooni Languages
agot_hf_has_hyrkooni_languange = {
	agot_hf_cusloc_trigger_hyrkooni = yes
}

# Sarnori Languages
agot_hf_has_sarnori_languange = {
	agot_hf_cusloc_trigger_sarnori = yes
}

# Ibbenese Languages
agot_hf_has_ibbenese_languange = {
	agot_hf_cusloc_trigger_ibb = yes
}

### TODOOOOOOOOOOOOOOOO

# YiTish Languages
agot_hf_has_yitish_languange = {
	OR = {
		agot_hf_cusloc_trigger_nghai = yes
		agot_hf_cusloc_trigger_yitish = yes
		agot_hf_cusloc_trigger_jade = yes
		agot_hf_cusloc_trigger_moraqi = yes
	}
}

# Shadow Languages
agot_hf_has_shadow_languange = {
	OR = {
		agot_hf_cusloc_trigger_shadowlanders = yes
		agot_hf_cusloc_trigger_sothoryi = yes
	}
}

# Mythical Languages
agot_hf_has_mythical_languange = {
	OR = {
		agot_hf_cusloc_trigger_longnightmen = yes
		agot_hf_cusloc_trigger_ancient = yes
	}
}

### CULTURE BASED NAME CUSLOC TRIGGERS

# WILDLING

has_house_generator_wildling_culture_trigger  = {
	OR = {
		has_culture = culture:first_clan
		has_culture = culture:thenn
		has_culture = culture:fangman
		has_culture = culture:forestman
		has_culture = culture:hornfoot
		has_culture = culture:nightrunner
		has_culture = culture:lakefolk
		has_culture = culture:frozen_shoreman
		has_culture = culture:milkwaterman
		has_culture = culture:cave_dweller
		has_culture = culture:ice_riverman
		has_culture = culture:moon_clan
	}
}

# VALYRIAN

agot_hf_cusloc_trigger_western_valyrian = {
	OR = {
		has_culture = culture:valyrian_original
		has_culture = culture:high_valyrian
		has_culture = culture:westerosi_valyrian
	}
}

agot_hf_cusloc_trigger_eastern_valyrian = {
	OR = {
		has_culture = culture:essosi_valyrian
		has_culture = culture:tolosi
		has_culture = culture:mantaryan
		has_culture = culture:elyrian
		has_culture = culture:painted_clansman
	}
}

agot_hf_cusloc_trigger_middle_valyrian = {
	OR = {
		has_culture = culture:volantene
		has_culture = culture:hartalari
		has_culture = culture:essarian
		has_culture = culture:lyseni
		has_culture = culture:tyroshi
	}
}

agot_hf_cusloc_trigger_far_valyrian = {
	OR = {
		has_culture = culture:gogossite
	}
}

# FREE CITY

agot_hf_cusloc_trigger_free_city_north = {
	OR = {
		has_culture = culture:braavosi
		has_culture = culture:lorathi
	}
}

agot_hf_cusloc_trigger_free_city_mid = {
	OR = {
		has_culture = culture:qohorik
		has_culture = culture:norvoshi
		has_culture = culture:myrish
		has_culture = culture:pentoshi
		has_culture = culture:nonteloshi
	}
}

# NEAR ESSOS
agot_hf_cusloc_trigger_andalosi = {
	OR = {
		has_culture = culture:andal
		has_culture = culture:andalosi
		has_culture = culture:axeman
	}
}

agot_hf_cusloc_trigger_rhoynish = {
	OR = {
		has_culture = culture:rhoynar_original
		has_culture = culture:chroyanar
		has_culture = culture:mellar
		has_culture = culture:noynar
		has_culture = culture:qhoynar
		has_culture = culture:sarhar
		has_culture = culture:sarar
		has_culture = culture:abular
	}
}

# CENTRAL ESSOS
agot_hf_cusloc_trigger_sarnori = {
	OR = {
		has_culture = culture:cymmeri
		has_culture = culture:gipps
		has_culture = culture:zoqora
		has_culture = culture:tagaez_fen
		has_culture = culture:trimbaez_fen
		has_culture = culture:goraez_fen
		has_culture = culture:zanhar_fen
		has_culture = culture:madekh_fen
		has_culture = culture:gilal_fen
		has_culture = culture:cenaakh_fen
		has_culture = culture:giren_fen
		has_culture = culture:zivylar_fen
		has_culture = culture:cewi_fen
		has_culture = culture:dawiz_fen
	}
}

agot_hf_cusloc_trigger_qaathi = {
	OR = {
		has_culture = culture:qaathi
		has_culture = culture:qartheen
		has_culture = culture:qaleen
	}
}

agot_hf_cusloc_trigger_ibb = {
	OR = {
		has_culture = culture:ibbenese
		has_culture = culture:ib_sarese
		has_culture = culture:ibbatese
	}
}

agot_hf_cusloc_trigger_hyrkooni = {
	OR = {
		has_culture = culture:hyrkoonan_original
		has_culture = culture:bayasabhadan
		has_culture = culture:kayakayanayan
		has_culture = culture:shamyrianan
	}
}

agot_hf_cusloc_trigger_ghis = {
	OR = {
		has_culture = culture:ghiscari_original
		has_culture = culture:astapori
		has_culture = culture:hazdahni
		has_culture = culture:meereenese
		has_culture = culture:shuzduni
		has_culture = culture:yunkaii
		has_culture = culture:ghaeni
		has_culture = culture:ghardaqi
		has_culture = culture:goroshari
		has_culture = culture:zamettari
		has_culture = culture:gorgari
	}
}

agot_hf_cusloc_trigger_lhazar = {
	OR = {
		has_culture = culture:lhazareen
	}
}

agot_hf_cusloc_trigger_omberi = {
	OR = {
		has_culture = culture:omberi
	}
}

agot_hf_cusloc_trigger_dothraki = {
	OR = {
		has_culture = culture:dothraki
	}
}

# SUMMER ISLANDS
agot_hf_cusloc_trigger_summer_islander = {
	OR = {
		has_culture = culture:jhalai
		has_culture = culture:moluuni
		has_culture = culture:omborui
		has_culture = culture:walanoi
		has_culture = culture:naathi
		has_culture = culture:abular
	}
}

# FAR ESSOS
agot_hf_cusloc_trigger_nghai = {
	OR = {
		has_culture = culture:jogos_nhai
		has_culture = culture:nefer
	}
}

agot_hf_cusloc_trigger_yitish = {
	OR = {
		has_culture = culture:zhenzhu_ren
		has_culture = culture:feicui_ren
		has_culture = culture:bixi_ren
		has_culture = culture:haungyu_ren
		has_culture = culture:aobao_ren
		has_culture = culture:heinao_ren
		has_culture = culture:shan_ren
	}
}

agot_hf_cusloc_trigger_jade = {
	OR = {
		has_culture = culture:jade_islander
		has_culture = culture:lengii
		has_culture = culture:manticorian
		has_culture = culture:marahaiian
	}
}

agot_hf_cusloc_trigger_moraqi = {
	OR = {
		has_culture = culture:moraqi
		has_culture = culture:farosi
		has_culture = culture:vahari
		has_culture = culture:zabhadi
	}
}

agot_hf_cusloc_trigger_sothoryi = {
	OR = {
		has_culture = culture:yeenite
		has_culture = culture:brindled_man
		has_culture = culture:basiliskite
		has_culture = culture:gorgari
		agot_hf_cusloc_trigger_far_valyrian = yes
	}
}

agot_hf_cusloc_trigger_shadowlanders = {
	OR = {
		has_culture = culture:asshaii
		has_culture = culture:shadowman
	}
}

# MYTHICAL
agot_hf_cusloc_trigger_longnightmen = {
	OR = {
		has_culture = culture:lion_man
		has_culture = culture:bloodless_man
		has_culture = culture:carcosan
		has_culture = culture:dathian
		has_culture = culture:grey_man
		has_culture = culture:fish_man
		has_culture = culture:shryke
		has_culture = culture:winged_man
		has_culture = culture:mossovite
	}
}

agot_hf_cusloc_trigger_ancient = {
	OR = {
		has_culture = culture:children_culture
		has_culture = culture:dragon_culture
		has_culture = culture:jhogwin
		has_culture = culture:giant_culture
		has_culture = culture:others_culture
		has_culture = culture:ifequevron
		has_culture = culture:fisher_queen_race
		has_culture = culture:mazemaker
		has_culture = culture:unknown_culture
	}
}

# Combined

agot_hf_cusloc_trigger_mythical = {
	OR = {
		agot_hf_cusloc_trigger_longnightmen = yes
		agot_hf_cusloc_trigger_ancient = yes
	}
}

agot_hf_cusloc_trigger_dothraki_lhazar = {
	OR = {
		agot_hf_cusloc_trigger_dothraki = yes
		agot_hf_cusloc_trigger_lhazar = yes
		agot_hf_cusloc_trigger_omberi = yes
	}
}

agot_hf_cusloc_trigger_ghis_far_valyrian = {
	OR = {
		agot_hf_cusloc_trigger_ghis = yes
		agot_hf_cusloc_trigger_lhazar = yes
		agot_hf_cusloc_trigger_far_valyrian = yes
	}
}

agot_hf_cusloc_trigger_all_valyrian = {
	OR = {
		agot_hf_cusloc_trigger_western_valyrian = yes
		agot_hf_cusloc_trigger_eastern_valyrian = yes
		agot_hf_cusloc_trigger_middle_valyrian = yes
		agot_hf_cusloc_trigger_far_valyrian = yes
	}
}

agot_hf_cusloc_trigger_west_fc_valyrian = {
	OR = {
		agot_hf_cusloc_trigger_western_valyrian = yes
		agot_hf_cusloc_trigger_eastern_valyrian = yes
		agot_hf_cusloc_trigger_middle_valyrian = yes
	}
}

agot_hf_cusloc_trigger_east_mainland_valyrian = {
	OR = {
		agot_hf_cusloc_trigger_free_city_north = yes
		agot_hf_cusloc_trigger_free_city_mid = yes
		agot_hf_cusloc_trigger_middle_valyrian = yes
		agot_hf_cusloc_trigger_shadowlanders = yes
	}
}

agot_hf_cusloc_trigger_rhoynish_fc = {
	OR = {
		agot_hf_cusloc_trigger_rhoynish = yes
		agot_hf_cusloc_trigger_free_city_mid = yes
	}
}

agot_hf_cusloc_trigger_sarnori_fc = {
	OR = {
		agot_hf_cusloc_trigger_sarnori = yes
		agot_hf_cusloc_trigger_free_city_mid = yes
		agot_hf_cusloc_trigger_omberi = yes
	}
}

agot_hf_cusloc_trigger_yiti_jade = {
	OR = {
		agot_hf_cusloc_trigger_yitish = yes
		agot_hf_cusloc_trigger_jade = yes
	}
}

agot_hf_cusloc_trigger_sothoryi_jade = {
	OR = {
		agot_hf_cusloc_trigger_sothoryi = yes
		agot_hf_cusloc_trigger_jade = yes
	}
}

agot_hf_cusloc_trigger_qaathi_moraqi = {
	OR = {
		agot_hf_cusloc_trigger_qaathi = yes
		agot_hf_cusloc_trigger_moraqi = yes
	}
}

agot_hf_cusloc_trigger_rhoynish_and_mythical = {
	OR = {
		agot_hf_cusloc_trigger_rhoynish = yes
		agot_hf_cusloc_trigger_mythical = yes
	}
}

agot_hf_cusloc_trigger_qaathi_and_mythical = {
	OR = {
		agot_hf_cusloc_trigger_qaathi = yes
		agot_hf_cusloc_trigger_mythical = yes
	}
}






















### ### #################### ### ###
### ### ### COAT OF ARMS ### ### ###
### ### #################### ### ###

agot_hf_coa_andal_trigger = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_dornish_trigger = yes }
		NOT = { agot_hf_culture_ironborn_trigger = yes }
		NOT = { agot_hf_culture_feudal_valyrian_trigger = yes }
		agot_hf_culture_andal_trigger = yes
	}
}

agot_hf_coa_dornish_trigger = {
	exists = scope:culture

	scope:culture = {
		agot_hf_culture_dornish_trigger = yes
	}
}

agot_hf_coa_rhoynish_trigger = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_dornish_trigger = yes }
		NOT = { agot_hf_culture_valyrian_trigger = yes }
		OR = {
			this = culture:rhoynar_original
			any_parent_culture_or_above = {
				OR = {
					this = culture:rhoynar_original
				}
			}
		}
	}
}

agot_hf_coa_wildling_trigger = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_ironborn_trigger = yes }
		agot_is_wildling_culture = yes
		OR = {
			this = culture:first_man
			any_parent_culture_or_above = {
				OR = {
					this = culture:first_man
				}
			}
		}
	}
}

agot_hf_coa_first_man_trigger = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_ironborn_trigger = yes }
		NOT = { agot_is_wildling_culture = yes }
		OR = {
			this = culture:first_man
			any_parent_culture_or_above = {
				OR = {
					this = culture:first_man
				}
			}
		}
	}
}

agot_hf_coa_ironborn_trigger = {
	exists = scope:culture

	scope:culture = {
		agot_hf_culture_ironborn_trigger = yes
	}
}

agot_hf_coa_esssosi_valyrian_trigger_disabled = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_feudal_valyrian_trigger = yes }
		agot_hf_culture_valyrian_trigger = yes
	}
	trigger_if = {
		limit = { exists = location }
		location = { NOT = { geographical_region = world_westeros } }
	}
	NOT = { has_game_rule = agot_hf_essosi_valyrian_coa_enabled }
}

agot_hf_coa_esssosi_valyrian_trigger_enabled = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_feudal_valyrian_trigger = yes }
		agot_hf_culture_valyrian_trigger = yes
	}
	trigger_if = {
		limit = { exists = location }
		location = { NOT = { geographical_region = world_westeros } }
	}
	has_game_rule = agot_hf_essosi_valyrian_coa_enabled
}

agot_hf_coa_westerosi_valyrian_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			agot_hf_culture_feudal_valyrian_trigger = yes
		}
	}
}

agot_hf_coa_summerislander_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:jhalai
			any_parent_culture_or_above = {
				OR = {
					this = culture:jhalai
				}
			}
		}
	}
}

agot_hf_coa_dothraki_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:dothraki
			any_parent_culture_or_above = {
				OR = {
					this = culture:dothraki
				}
			}
		}
	}
}

agot_hf_coa_sarnori_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:gipps
			this = culture:zoqora
			any_parent_culture_or_above = {
				OR = {
					this = culture:gipps
					this = culture:zoqora
				}
			}
		}
	}
}

agot_hf_coa_hyrkooni_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:hyrkoonan_original
			any_parent_culture_or_above = {
				OR = {
					this = culture:hyrkoonan_original
				}
			}
		}
	}
}

agot_hf_coa_ibbenese_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:ibbenese
			any_parent_culture_or_above = {
				OR = {
					this = culture:ibbenese
				}
			}
		}
	}
}

agot_hf_coa_ghis_trigger = { #ghiscari, lhazareen
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_valyrian_trigger = yes }
		OR = {
			this = culture:lhazareen
			this = culture:ghiscari_original
			any_parent_culture_or_above = {
				OR = {
					this = culture:lhazareen
					this = culture:ghiscari_original
				}
			}
		}
	}
}

agot_hf_coa_qaathi_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:qaathi
			any_parent_culture_or_above = {
				OR = {
					this = culture:qaathi
				}
			}
		}
	}
}

agot_hf_coa_yiti_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:zhenzhu_ren
			any_parent_culture_or_above = {
				OR = {
					this = culture:zhenzhu_ren
				}
			}
		}
	}
}

agot_hf_coa_jade_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:jade_islander
			any_parent_culture_or_above = {
				OR = {
					this = culture:jade_islander
				}
			}
		}
	}
}

agot_hf_coa_moraqi_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:moraqi
			any_parent_culture_or_above = {
				OR = {
					this = culture:moraqi
				}
			}
		}
	}
}

agot_hf_coa_jogos_trigger = {
	exists = scope:culture

	scope:culture = {
		NOT = { agot_hf_culture_valyrian_trigger = yes }
		OR = {
			this = culture:jogos_nhai
			any_parent_culture_or_above = {
				OR = {
					this = culture:jogos_nhai
				}
			}
		}
	}
}

agot_hf_coa_shadow_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:asshaii
			any_parent_culture_or_above = {
				OR = {
					this = culture:asshaii
				}
			}
		}
	}
}

agot_hf_coa_sothoryi_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:yeenite
			any_parent_culture_or_above = {
				OR = {
					this = culture:yeenite
				}
			}
		}
	}
}

agot_hf_coa_mythical_trigger = {
	exists = scope:culture

	scope:culture = {
		OR = {
			this = culture:lion_man
			this = culture:children_culture
			this = culture:ifequevron
			this = culture:dragon_culture
			this = culture:giant_culture
			this = culture:jhogwin
			this = culture:fisher_queen_race
			this = culture:others_culture
			this = culture:stonemen
			this = culture:mazemaker
			this = culture:unknown_culture
			any_parent_culture_or_above = {
				OR = {
					this = culture:lion_man
					this = culture:children_culture
					this = culture:ifequevron
					this = culture:dragon_culture
					this = culture:giant_culture
					this = culture:jhogwin
					this = culture:fisher_queen_race
					this = culture:others_culture
					this = culture:stonemen
					this = culture:mazemaker
					this = culture:unknown_culture
				}
			}
		}
	}
}

## Basic culture trigger

agot_hf_culture_valyrian_trigger = {
	OR = {
		this = culture:valyrian_original
		any_parent_culture_or_above = {
			OR = {
				this = culture:valyrian_original
			}
		}
	}
}
agot_hf_culture_feudal_valyrian_trigger = {
	OR = {
		this = culture:high_valyrian
		this = culture:westerosi_valyrian
		this = culture:essosi_valyrian
		this = culture:mantaryan
		this = culture:tolosi
		this = culture:elyrian
		this = culture:painted_clansman
		any_parent_culture_or_above = {
			OR = {
				this = culture:high_valyrian
				this = culture:westerosi_valyrian
				this = culture:essosi_valyrian
				this = culture:mantaryan
				this = culture:tolosi
				this = culture:elyrian
				this = culture:painted_clansman
			}
		}
	}
}

agot_hf_culture_ironborn_trigger = {
	OR = {
		this = culture:ironborn
		any_parent_culture_or_above = {
			OR = {
				this = culture:ironborn
			}
		}
	}
}
agot_hf_culture_andal_trigger = {
	OR = {
		this = culture:andal
		any_parent_culture_or_above = {
			OR = {
				this = culture:andal
			}
		}
	}
}
agot_hf_culture_dornish_trigger = {
	OR = {
		this = culture:dornish_andal
		any_parent_culture_or_above = {
			OR = {
				this = culture:dornish_andal
			}
		}
	}
}

### reserved for the future

# agot_hf_coa_andal_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = andal_coa_gfx }
# }

# agot_hf_coa_dornish_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = dornish_coa_gfx }
# }

# agot_hf_coa_rhoynish_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_rhoynish_coa_gfx }
# }

# agot_hf_coa_wildling_trigger = {
# 	exists = scope:culture
# 	scope:culture = {
# 		has_coa_gfx = wildling_coa_gfx
# 		agot_is_wildling_culture = yes
# 	}
# }

# agot_hf_coa_first_man_trigger = {
# 	exists = scope:culture
# 	scope:culture = {
# 		has_coa_gfx = first_man_coa_gfx
# 		NOT = { agot_is_wildling_culture = yes }
# 	}
# }

# agot_hf_coa_ironborn_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = ironborn_coa_gfx }
# }
# # coa_valyrian_trigger = {
# # 	exists = scope:culture
# # 	scope:culture = { has_coa_gfx = valyrian_coa_gfx }
# # }

# agot_hf_coa_esssosi_valyrian_trigger_disabled = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = valyrian_coa_gfx }
# 	NOT = { has_game_rule = agot_hf_essosi_valyrian_coa_enabled }
# }

# agot_hf_coa_esssosi_valyrian_trigger_enabled = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = valyrian_coa_gfx }
# 	has_game_rule = agot_hf_essosi_valyrian_coa_enabled
# }

# agot_hf_coa_westerosi_valyrian_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_westerosi_valyrian_coa_gfx }
# }

# agot_hf_coa_summerislander_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = summer_islander_coa_gfx }
# }

# agot_hf_coa_dothraki_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = dothraki_coa_gfx }
# }

# agot_hf_coa_sarnori_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = sarnori_coa_gfx }
# }

# agot_hf_coa_hyrkooni_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_hyrkoonan_coa_gfx }
# }

# agot_hf_coa_ibbenese_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = ibbenese_coa_gfx }
# }

# agot_hf_coa_ghis_trigger = { #ghiscari, lhazareen
# 	exists = scope:culture
# 	OR = {
# 		scope:culture = { has_coa_gfx = ghiscari_coa_gfx }
# 		scope:culture = { has_coa_gfx = lhazareen_coa_gfx }
# 	}
# }

# agot_hf_coa_qaathi_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_qaathi_coa_gfx }
# }

# agot_hf_coa_yiti_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_yiti_coa_gfx }
# }

# agot_hf_coa_jade_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_jade_coa_gfx }
# }

# agot_hf_coa_moraqi_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_moraqi_coa_gfx }
# }

# agot_hf_coa_jogos_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_jogos_coa_gfx }
# }

# agot_hf_coa_shadow_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_shadow_coa_gfx }
# }

# agot_hf_coa_sothoryi_trigger = {
# 	exists = scope:culture
# 	scope:culture = { has_coa_gfx = agot_hf_sothoryi_coa_gfx }
# }

# agot_hf_coa_mythical_trigger = {
# 	exists = scope:culture
# 	OR = {
# 		scope:culture = { has_coa_gfx = agot_hf_mennight_coa_gfx }
# 		scope:culture = { has_coa_gfx = ancient_races_coa_gfx }
# 	}
# }