﻿get_dv_talos = {
	type = character 

	text = {
		trigger = { var:faith_window = { has_doctrine = special_doctrine_khajiit_doctrine } }
		localization_key = "_talos"
	}

	text = {
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_yokudan
				LANGUAGE = language_tamrielic_yoku
			}
		}
		localization_key = "_talos"
	}

	text = {
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_yokudan
				LANGUAGE = language_yoku
			}
		}
		localization_key = "_talos"
	}

	text = {
		trigger = { var:faith_window = { OR = { has_doctrine = doctrine_pantheon_old_gods has_doctrine = special_doctrine_reach_spirits } } }
		localization_key = "_talos"
	}
	
	text = {
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_kothri
				LANGUAGE = language_kothri
			}
		}
		localization_key = "_talos"
	}
	
	text = {
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_kothri
				LANGUAGE = language_orma
			}
		}
		localization_key = "_talos"
	}

	text = {
		trigger = { var:faith_window = { OR = { has_doctrine = doctrine_pantheon_nedic_aedra has_doctrine = doctrine_sp_nedic_aedra_shezarr } } }
		localization_key = "_talos"
	}

	text = {
		trigger = { var:faith_window = { has_doctrine = special_doctrine_bretic_traditions } }
		localization_key = "_talos"
	}

	text = {
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_cyrodiilic
				LANGUAGE = language_cyrodiilic
			}
		}
		localization_key = "_talos"
	}

	text = {
		trigger = { var:faith_window = { has_doctrine = doctrine_pantheon_lilmothiit } }
		localization_key = "_talos"
	}

	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = "_talos"
	}
}
get_dv_talos_icon = {
	type = character 

	text = {
		trigger = { var:faith_window = { has_doctrine = special_doctrine_khajiit_doctrine } }
		localization_key = "p_dv_talos_nbg.dds"
	}

	text = { #EK TODO Sep patron icon
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_yokudan
				LANGUAGE = language_tamrielic_yoku
			}
		}	
		localization_key = "p_dv_talos_nbg.dds"
	}

	text = { #EK TODO Sep patron icon
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_yokudan
				LANGUAGE = language_yoku
			}
		}	
		localization_key = "p_dv_talos_nbg.dds"
	}

	text = {
		trigger = { var:faith_window = { OR = { has_doctrine = doctrine_pantheon_old_gods has_doctrine = special_doctrine_reach_spirits } } }
		localization_key = "p_dv_talos_nbg.dds"
	}

	# text = { for when we have icons
	# 	trigger = { var:faith_window = { OR = { has_doctrine = doctrine_pantheon_nedic_aedra has_doctrine = doctrine_sp_nedic_aedra_shezarr } } }
	# 	localization_key = "p_dv_talos_nbg.dds"
	# }

	text = {
		trigger = {
			patron_culture_variant_window_trigger = {
				HERITAGE = heritage_cyrodiilic
				LANGUAGE = language_cyrodiilic
			}
		}
		localization_key = "p_dv_talos_nbg.dds"
	}

	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = "p_dv_talos_nbg.dds"
	}
}
GetDvTalosName = {
	type = character

	text = {
		trigger = { 
			faith = { 
				OR = { 
					has_doctrine = doctrine_pantheon_khajiiti 
					has_doctrine = doctrine_pantheon_riddlethar 
				} 
			} 
		}
		localization_key = god_talos_name
	}

	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_yokudan
					LANGUAGE = language_yoku
				}
			}
		}
		localization_key = god_talos_name
	}

	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_yokudan
					LANGUAGE = language_tamrielic_yoku
				}
			}
		}
		localization_key = god_talos_name
	}

	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_nedic_north
					LANGUAGE = language_reachtongue
				}
			}
		}
		localization_key = god_talos_name
	}
	
	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_kothri
					LANGUAGE = language_kothri
				}
			}
		}
		localization_key = god_talos_name
	}
	
	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_kothri
					LANGUAGE = language_orma
				}
			}
		}
		localization_key = god_talos_name
	}

	text = {
		trigger = { faith = { OR = { has_doctrine = doctrine_pantheon_nedic_aedra has_doctrine = doctrine_sp_nedic_aedra_shezarr } } }
		localization_key = god_talos_name
	}

	text = {
		trigger = { faith = { has_doctrine = doctrine_pantheon_lilmothiit } }
		localization_key = god_talos_name
	}
	
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = god_talos_name
	}
}
GetDvTalosNamePossessive = {
	type = character

	text = {
		trigger = { 
			faith = { 
				OR = { 
					has_doctrine = doctrine_pantheon_khajiiti 
					has_doctrine = doctrine_pantheon_riddlethar 
				} 
			} 
		}
		localization_key = god_talos_name_possessive
	}

	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_yokudan
					LANGUAGE = language_yoku
				}
			}
		}
		localization_key = god_talos_name_possessive
	}

	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_yokudan
					LANGUAGE = language_tamrielic_yoku
				}
			}
		}
		localization_key = god_talos_name_possessive
	}

	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_nedic_north
					LANGUAGE = language_reachtongue
				}
			}
		}
		localization_key = god_talos_name_possessive
	}
	
	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_kothri
					LANGUAGE = language_kothri
				}
			}
		}
		localization_key = god_talos_name_possessive
	}
	
	text = {
		trigger = {
			faith = {
				patron_culture_variant_trigger = {
					HERITAGE = heritage_kothri
					LANGUAGE = language_orma
				}
			}
		}
		localization_key = god_talos_name_possessive
	}

	text = {
		trigger = { faith = { OR = { has_doctrine = doctrine_pantheon_nedic_aedra has_doctrine = doctrine_sp_nedic_aedra_shezarr } } }
		localization_key = god_talos_name_possessive
	}

	text = {
		trigger = { faith = { has_doctrine = doctrine_pantheon_lilmothiit } }
		localization_key = god_talos_name_possessive
	}
	
	text = {
		trigger = { always = no }
		fallback = yes
		localization_key = god_talos_name_possessive
	}
}