﻿GetIncidentalDetail = { #Remember to use the gerund in  the loc strings
	type = character

	random_valid = yes

	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = servant_struggling_with_vase
	}

	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = courtier_passing_by_in_hurry
	}

	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = fly_crawling_on_decoration
	}

	text = {
		trigger = {
			involved_activity ?= {
				has_activity_type = activity_tournament
			}
		}
		localization_key = peddler_passing_by_in_hurry
	}

	text = {
		trigger = {
			OR = {
				is_travelling = yes
				involved_activity ?= {
					NOR = {
						has_activity_type = activity_tournament
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = feather_drift_past
	}
	
	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = cupbearer_pours_drink
	}
	
	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = courtiers_chat
	}
}

GetIncidentalDetailPresent = {
	type = character

	random_valid = yes

	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = servant_struggling_with_vase_pres
	}

	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = courtier_passing_by_in_hurry_pres
	}

	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = fly_crawling_on_decoration_pres
	}

	text = {
		trigger = {
			involved_activity ?= {
				has_activity_type = activity_tournament
			}
		}
		localization_key = peddler_passing_by_in_hurry_pres
	}

	text = {
		trigger = {
			OR = {
				is_travelling = yes
				involved_activity ?= {
					NOR = {
						has_activity_type = activity_tournament
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = feather_drift_past_pres
	}
	
	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = cupbearer_pours_drink_pres
	}
	
	text = {
		trigger = {
			OR = {
				NOT = {
					exists = involved_activity
				}
				involved_activity ?= {
					OR = {
						has_activity_type = activity_wedding
						has_activity_type = activity_feast
					}
				}
			}
		}
		localization_key = courtiers_chat_pres
	}
}
