﻿education_conversation_subject = {
	type = character
	random_valid = yes

	text = {
		trigger = { has_education_martial_trigger = yes }
		localization_key = education_conversation_subject_martial_1 #new strategies
	}
	text = {
		trigger = { has_education_martial_trigger = yes }
		localization_key = education_conversation_subject_martial_2 #ancient campaigns
	}
	text = {
		trigger = { has_education_martial_trigger = yes }
		localization_key = education_conversation_subject_martial_3 #foreign military innovations
	}
	text = {
		trigger = { has_education_diplomacy_trigger = yes }
		localization_key = education_conversation_subject_diplomacy_1 #other lords
	}
	text = {
		trigger = { has_education_diplomacy_trigger = yes }
		localization_key = education_conversation_subject_diplomacy_2 #the art of feasting
	}
	text = {
		trigger = { has_education_diplomacy_trigger = yes }
		localization_key = education_conversation_subject_diplomacy_3 #etiquette in foreign courts
	}
	text = {
		trigger = { has_education_diplomacy_trigger = yes }
		localization_key = education_conversation_subject_diplomacy_4 #journeys to faraway lands
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_1 #theological treatises
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_2 #metaphysical conundrums
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_3 #the stars and planets
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_4 #the nature of unusual diseases
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_5 #collecting rare manuscripts
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_6 #bibliomancy
	}
	text = {
		trigger = { has_education_learning_trigger = yes }
		localization_key = education_conversation_subject_learning_7 #calligraphy
	}
	text = {
		trigger = { has_education_stewardship_trigger = yes }
		localization_key = education_conversation_subject_stewardship_1 #gold minting reduction
	}
	text = {
		trigger = { has_education_stewardship_trigger = yes }
		localization_key = education_conversation_subject_stewardship_2 #development of trade routes
	}
	text = {
		trigger = { has_education_stewardship_trigger = yes }
		localization_key = education_conversation_subject_stewardship_3 #best practices for tax collectors
	}
	text = {
		trigger = { has_education_stewardship_trigger = yes }
		localization_key = education_conversation_subject_stewardship_4 #cartography
	}
	text = {
		trigger = { has_education_stewardship_trigger = yes }
		localization_key = education_conversation_subject_stewardship_5 #book-keeping
	}
	text = {
		trigger = { has_education_stewardship_trigger = yes }
		localization_key = education_conversation_subject_stewardship_6 #cadastral surveys
	}
	text = {
		trigger = { has_education_intrigue_trigger = yes }
		localization_key = education_conversation_subject_intrigue_1 #shadowy rumors
	}
	text = {
		trigger = { has_education_intrigue_trigger = yes }
		localization_key = education_conversation_subject_intrigue_2 #dagger-smiths
	}
	text = {
		trigger = { has_education_intrigue_trigger = yes }
		localization_key = education_conversation_subject_intrigue_3 #exotic poisons and their antidotes
	}
	text = {
		trigger = { has_education_intrigue_trigger = yes }
		localization_key = education_conversation_subject_intrigue_4 #ciphers
	}
	##### More Lifestyles Submod Modifications
	#Prowess
	text = {
		trigger = { has_education_nht_prowess_trigger = yes }
		localization_key = education_conversation_subject_nht_prowess_1 #
	}
	text = {
		trigger = { has_education_nht_prowess_trigger = yes }
		localization_key = education_conversation_subject_nht_prowess_2 #
	}
	text = {
		trigger = { has_education_nht_prowess_trigger = yes }
		localization_key = education_conversation_subject_nht_prowess_3 #
	}
	#Leadership
	text = {
		trigger = { has_education_nht_leadership_trigger = yes }
		localization_key = education_conversation_subject_nht_leadership_1 #
	}
	text = {
		trigger = { has_education_nht_leadership_trigger = yes }
		localization_key = education_conversation_subject_nht_leadership_2 #
	}
	text = {
		trigger = { has_education_nht_leadership_trigger = yes }
		localization_key = education_conversation_subject_nht_leadership_3 
	}
}

MatchingConversationSubject = {
	type = character
	random_valid = yes

	text = {
		trigger = {
			OR = {
				has_trait = education_nht_prowess
				has_lifestyle = nht_prowess_lifestyle
				has_nht_prowess_lifestyle_trait_trigger = yes
			}
			scope:second = {
				OR = {
					has_trait = education_nht_prowess
					has_lifestyle = nht_prowess_lifestyle
					has_nht_prowess_lifestyle_trait_trigger = yes
				}
			}
		}
		localization_key = education_conversation_subject_nht_prowess_1 #
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_nht_prowess
				has_lifestyle = nht_prowess_lifestyle
				has_nht_prowess_lifestyle_trait_trigger = yes
				has_trait = lifestyle_blademaster
			}
			scope:second = {
				OR = {
					has_trait = education_nht_prowess
					has_lifestyle = nht_prowess_lifestyle
					has_nht_prowess_lifestyle_trait_trigger = yes
					has_trait = lifestyle_blademaster
				}
			}
		}
		localization_key = education_conversation_subject_nht_prowess_2 #
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_nht_leadership
				has_lifestyle = nht_leadership_lifestyle
				has_nht_leadership_lifestyle_trait_trigger = yes
			}
			scope:second = {
				OR = {
					has_trait = education_nht_leadership
					has_lifestyle = nht_leadership_lifestyle
					has_nht_leadership_lifestyle_trait_trigger = yes
				}
			}
		}
		localization_key = education_conversation_subject_nht_leadership_1 #
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_nht_leadership
				has_lifestyle = nht_leadership_lifestyle
				has_nht_leadership_lifestyle_trait_trigger = yes
				has_trait = lifestyle_blademaster
			}
			scope:second = {
				OR = {
					has_trait = education_nht_leadership
					has_lifestyle = nht_leadership_lifestyle
					has_nht_leadership_lifestyle_trait_trigger = yes
					has_trait = lifestyle_blademaster
				}
			}
		}
		localization_key = education_conversation_subject_nht_leadership_2 #
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_martial
				has_lifestyle = martial_lifestyle
				has_martial_lifestyle_trait_trigger = yes
			}
			scope:second = {
				OR = {
					has_trait = education_martial
					has_lifestyle = martial_lifestyle
					has_martial_lifestyle_trait_trigger = yes
				}
			}
		}
		localization_key = education_conversation_subject_martial_1 #new strategies
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_martial
				has_lifestyle = martial_lifestyle
				has_martial_lifestyle_trait_trigger = yes
			}
			scope:second = {
				OR = {
					has_trait = education_martial
					has_lifestyle = martial_lifestyle
					has_martial_lifestyle_trait_trigger = yes
				}
			}
		}
		localization_key = education_conversation_subject_martial_2 #ancient campaigns
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_martial
				has_lifestyle = martial_lifestyle
				has_trait = lifestyle_hunter
				has_trait = lifestyle_blademaster
			}
			scope:second = {
				OR = {
					has_trait = education_martial
					has_lifestyle = martial_lifestyle
					has_trait = lifestyle_hunter
					has_trait = lifestyle_blademaster
				}
			}
		}
		localization_key = conversation_subject_fighting_techniques #how to bring a foe down
	}
	text = {
		trigger = {
			
			OR = {
				has_trait = education_diplomacy
				has_diplomacy_lifestyle_trait_trigger = yes
				has_trait = seducer
				has_lifestyle = diplomacy_lifestyle
			}
			scope:second = {
				OR = {
					has_lifestyle = diplomacy_lifestyle
					has_trait = seducer
					has_diplomacy_lifestyle_trait_trigger = yes
					has_trait = education_diplomacy
				}
			}
		}
		localization_key = education_conversation_subject_diplomacy_1 #other lords
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_diplomacy
				has_lifestyle = diplomacy_lifestyle
				has_trait = lifestyle_reveler
				has_diplomacy_lifestyle_trait_trigger = yes
				has_trait = gregarious
			}
			scope:second = {
				OR = {
					has_lifestyle = diplomacy_lifestyle
					has_trait = education_diplomacy
					has_trait = lifestyle_reveler
					has_diplomacy_lifestyle_trait_trigger = yes
					has_trait = gregarious
				}
			}
		}
		localization_key = education_conversation_subject_diplomacy_2 #the art of feasting
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_diplomacy
				has_lifestyle = diplomacy_lifestyle
				has_diplomacy_lifestyle_trait_trigger = yes
				has_trait = gregarious
			}
			scope:second = {
				OR = {
					has_lifestyle = diplomacy_lifestyle
					has_trait = education_diplomacy
					has_diplomacy_lifestyle_trait_trigger = yes
					has_trait = gregarious
				}
			}
		}
		localization_key = education_conversation_subject_charm #true charm
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_learning
				has_lifestyle = learning_lifestyle
				has_learning_lifestyle_trait_trigger = yes
			}
			scope:second = {
				OR = {
					has_trait = education_learning
					has_lifestyle = learning_lifestyle
					has_learning_lifestyle_trait_trigger = yes
				}
			}
		}
		localization_key = education_conversation_subject_learning_1 #theological treatises
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_learning
				has_trait = lunatic
				has_lifestyle = learning_lifestyle
				has_learning_lifestyle_trait_trigger = yes
				has_trait = zealous
				has_trait = cynical
			}
			scope:second = {
				OR = {
					has_trait = education_learning
					has_trait = lunatic
					has_lifestyle = learning_lifestyle
					has_learning_lifestyle_trait_trigger = yes
					has_trait = zealous
					has_trait = cynical
				}
			}
		}
		localization_key = education_conversation_subject_learning_2 #metaphysical conundrums
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_stewardship
				has_lifestyle = stewardship_lifestyle
				has_stewardship_lifestyle_trait_trigger = yes
				has_trait = greedy
			}
			scope:second = {
				OR = {
					has_trait = greedy
					has_trait = education_stewardship
					has_lifestyle = stewardship_lifestyle
					has_stewardship_lifestyle_trait_trigger = yes
				}	
			}
		}
		localization_key = education_conversation_subject_stewardship_1 #gold minting reduction
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_stewardship
				has_lifestyle = stewardship_lifestyle
				has_stewardship_lifestyle_trait_trigger = yes
				has_trait = diligent
			}
			scope:second = {
				OR = {
					has_trait = diligent
					has_trait = education_stewardship
					has_lifestyle = stewardship_lifestyle
					has_stewardship_lifestyle_trait_trigger = yes
				}	
			}
		}
		localization_key = education_conversation_subject_stewardship_2 #development of trade routes
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_stewardship
				has_lifestyle = stewardship_lifestyle
				has_stewardship_lifestyle_trait_trigger = yes
				has_trait = diligent
				has_trait = greedy
			}
			scope:second = {
				OR = {
					has_trait = diligent
					has_trait = greedy
					has_trait = education_stewardship
					has_lifestyle = stewardship_lifestyle
					has_stewardship_lifestyle_trait_trigger = yes
				}	
			}
		}
		localization_key = education_conversation_subject_stewardship_3 #tax collection
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_intrigue
				has_lifestyle = intrigue_lifestyle
				has_intrigue_lifestyle_trait_trigger = yes
				has_trait = paranoid
			}
			scope:second = {
				OR = {
					has_trait = education_intrigue
					has_lifestyle = intrigue_lifestyle
					has_intrigue_lifestyle_trait_trigger = yes
					has_trait = paranoid
				}	
			}
		}
		localization_key = education_conversation_subject_intrigue_1 #shadowy rumors
	}
	text = {
		trigger = {
			OR = {
				has_trait = education_intrigue
				has_lifestyle = intrigue_lifestyle
				has_intrigue_lifestyle_trait_trigger = yes
				has_trait = paranoid
				AND = {
					has_trait = ambitious
					has_trait = deceitful
				}
			}
			scope:second = {
				OR = {
					has_trait = education_intrigue
					has_lifestyle = intrigue_lifestyle
					has_intrigue_lifestyle_trait_trigger = yes
					has_trait = paranoid
					AND = {
						has_trait = ambitious
						has_trait = deceitful
					}
				}	
			}
		}
		localization_key = education_conversation_subject_intrigue_2 #dagger-smiths
	}

	text = {
		trigger = {
			always = no
		}
		fallback = yes
		localization_key = conversation_subject_weather
	}
}
