#######################
# DIPLOMACY: GREETINGS
#######################

# FROM = initiator of the diplomatic action; ROOT = recipient of the diplomatic action

greetings = {

	### HOSTILE GREETINGS

	# Hostile Generic 1
	01_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_xenophile = yes
				is_xenophobe = yes
				is_same_species = FROM
				is_at_war_with = FROM
				is_megacorp = yes
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Generic 2
	02_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_xenophile = yes
				is_xenophobe = yes
				is_same_species = FROM
				is_at_war_with = FROM
				is_megacorp = yes
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Generic 3
	03_HOSTILE_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOT = {
				OR = {
					is_xenophile = yes
					is_xenophobe = yes
					is_megacorp = yes
				}
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Generic Same Species
	04_HOSTILE_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOT = {
				OR = {
					is_xenophile = yes
					is_xenophobe = yes
					is_megacorp = yes
				}
			}
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Pacifist
	05_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_pacifist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Pacifist to Militarist
	06_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_pacifist = yes
			FROM = { is_militarist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Militarist
	07_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_militarist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Militarist to Pacifist
	08_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_militarist = yes
			FROM = { is_pacifist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Spiritualist
	09_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_spiritualist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Spiritualist to Materialist
	10_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_spiritualist = yes
			FROM = { is_materialist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Materialist
	11_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_materialist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Materialist to Spiritualist
	12_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_materialist = yes
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Egalitarian
	13_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_egalitarian = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Egalitarian to Authoritarian
	14_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_egalitarian = yes
			FROM = { is_authoritarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	# Hostile Authoritarian
	15_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_authoritarian = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Authoritarian to Egalitarian
	16_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_authoritarian = yes
			FROM = { is_egalitarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophobe 1
	17_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species_class = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# Hostile Xenophobe 2
	18_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species_class = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophobe 3
	19_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species_class = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophobe Same Species
	20_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophile 1
	21_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = { has_ethic = ethic_gestalt_consciousness }
			}
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	# Hostile Xenophile 2
	22_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophile 3
	23_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	# Hostile Xenophile Same Species
	24_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophobe - Same Species Class, but not same subspecies
	25_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			is_same_species_class = FROM
			NOT = { is_subspecies = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophobe - Same Subspecies
	26_HOSTILE_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			is_subspecies = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	# Hostile Xenophile - Killed Tiyanki
	27_HOSTILE_GREETING = {
		trigger = {
			is_xenophile = yes
			NOT = { is_active_resolution = "resolution_tiyanki_pest_control" }
			OR = {
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_tiyanki_fleet_1
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_tiyanki_fleet_2
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_all_tiyanki_1
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_all_tiyanki_2
				}
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	### NEUTRAL GREETINGS

	# Neutral Generic 1
	01_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				has_country_flag = unplugged_pre_ftl_empire_flag
			}
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Generic 2
	02_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Generic 3
	03_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Generic Same Species
	04_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
			}
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Pacifist
	05_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_pacifist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Pacifist to Militarist
	06_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_pacifist = yes
			FROM = { is_militarist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Militarist
	07_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_militarist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Militarist to Pacifist
	08_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_militarist = yes
			FROM = { is_pacifist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	# Neutral Spiritualist
	09_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_spiritualist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Spiritualist to Materialist
	10_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_spiritualist = yes
			FROM = { is_materialist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Materialist
	11_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_materialist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Materialist to Spiritualist
	12_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_materialist = yes
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	# Neutral Egalitarian
	13_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_egalitarian = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	# Neutral Egalitarian to Authoritarian
	14_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_egalitarian = yes
			FROM = { is_authoritarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Authoritarian
	15_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_authoritarian = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Authoritarian to Egalitarian
	16_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_authoritarian = yes
			FROM = { is_egalitarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophobe 1
	17_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophobe 2
	18_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	# Neutral Xenophobe 3
	19_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophobe Same Species
	20_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophile 1
	21_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophile 2
	22_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophile 3
	23_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophile Same Species
	24_NEUTRAL_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	# Neutral Xenophile - Killed Tiyanki
	25_NEUTRAL_GREETING = {
		trigger = {
			is_xenophile = yes
			NOT = { is_active_resolution = "resolution_tiyanki_pest_control" }
			OR = {
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_tiyanki_fleet_1
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_tiyanki_fleet_2
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_all_tiyanki_1
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_all_tiyanki_2
				}
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	### FRIENDLY GREETINGS

	# Friendly Generic 1
	01_FRIENDLY_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Generic 2
	02_FRIENDLY_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Generic 3
	03_FRIENDLY_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Generic Same Species
	04_FRIENDLY_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Pacifist
	05_FRIENDLY_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			is_pacifist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Pacifist to Militarist
	06_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_pacifist = yes
			FROM = { is_militarist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Militarist
	07_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_militarist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Militarist to Pacifist
	08_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_militarist = yes
			FROM = { is_pacifist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Spiritualist
	09_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_spiritualist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Spiritualist to Materialist
	10_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_spiritualist = yes
			FROM = { is_materialist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Materialist
	11_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_materialist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Materialist to Spiritualist
	12_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_materialist = yes
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Egalitarian
	13_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_egalitarian = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Egalitarian to Authoritarian
	14_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_egalitarian = yes
			FROM = { is_authoritarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Authoritarian
	15_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_authoritarian = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Authoritarian to Egalitarian
	16_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_authoritarian = yes
			FROM = { is_egalitarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophobe 1
	17_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophobe 2
	18_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophobe 3
	19_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophobe Same Species
	20_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophobe = yes
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophile 1
	21_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
				OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophile 2
	22_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophile 3
	23_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Friendly Xenophile Same Species
	24_FRIENDLY_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			is_xenophile = yes
			is_same_species = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	# Neutral Xenophile - Killed Tiyanki
	25_FRIENDLY_GREETING = {
		trigger = {
			is_xenophile = yes
			NOT = { is_active_resolution = "resolution_tiyanki_pest_control" }
			OR = {
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_tiyanki_fleet_1
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_tiyanki_fleet_2
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_all_tiyanki_1
				}
				has_opinion_modifier = {
					who = from
					modifier = opinion_killed_all_tiyanki_2
				}
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	### WAR GREETINGS

	# War Generic 1
	01_WAR_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Generic 2
	02_WAR_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Generic 3
	03_WAR_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Generic Same Species
	04_WAR_GREETING = {
		trigger = {
			NOT = { has_ethic = ethic_gestalt_consciousness }
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			NOR = {
				is_xenophile = yes
				is_xenophobe = yes
				is_megacorp = yes
			}
			is_same_species = FROM
			is_at_war_with = FROM
		}
	}
	# War Pacifist
	05_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_pacifist = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Militarist
	06_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_militarist = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Spiritualist
	07_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_spiritualist = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Materialist
	08_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_materialist = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Egalitarian
	09_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_egalitarian = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Authoritarian
	10_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_authoritarian = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Xenophobe
	11_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# War Xenophobe Same Species
	12_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_xenophobe = yes
			is_same_species = FROM
			is_at_war_with = FROM
		}
	}
	# War Xenophile
	13_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	# War Xenophile Same Species
	14_WAR_GREETING = {
		trigger = {
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
			}
			NOT = { is_country_type = fallen_empire }
			NOT = { is_country_type = awakened_fallen_empire }
			is_xenophile = yes
			is_same_species = FROM
			is_at_war_with = FROM
		}
	}
	# Watchful Regulators
	WR_ARROGANT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	WR_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	WR_CUSTODIAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			is_custodial_to = FROM
			is_in_federation_with = FROM
		}
	}
	WR_CUSTODIAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			is_custodial_to = FROM
			NOT = { is_in_federation_with = FROM }
		}
	}
	WR_OVERLORD_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_materialist
			is_overlord_to = FROM
		}
	}
	MECH_OVERLORD_GREETING_01 = {
		trigger = {
			is_machine_empire = yes
			is_overlord_to = FROM
		}
	}
	OVERLORD_GREETING_01 = {
		trigger = {
			is_overlord_to = FROM
			OR = {
				has_ethic = ethic_authoritarian
				is_materialist = yes
				is_egalitarian = yes
				has_ethic = ethic_militarist
			}
		}
	}
	OVERLORD_GREETING_02 = {
		trigger = {
			is_overlord_to = FROM
			OR = {
				is_pacifist = yes
				is_xenophile = yes
			}
		}
	}
	OVERLORD_GREETING_03 = {
		weight = { weight = 100 }
		trigger = {
			is_overlord_to = FROM
			is_xenophobe = yes
		}
	}
	OVERLORD_GREETING_04 = {
		trigger = {
			is_overlord_to = FROM
			is_spiritualist = yes
		}
	}
	OVERLORD_GREETING_05 = {
		weight = { weight = 100 }
		trigger = {
			is_overlord_to = FROM
			is_authoritarian = yes
		}
	}
	HM_OVERLORD_GREETING_01 = {
		trigger = {
			is_overlord_to = FROM
			is_hive_empire = yes
		}
	}

	# Benevolent Interventionists
	BI_ARROGANT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	BI_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	BI_CUSTODIAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_custodial_to = FROM
			is_in_federation_with = FROM
		}
	}
	BI_CUSTODIAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_custodial_to = FROM
			NOT = { is_in_federation_with = FROM }
		}
	}
	BI_OVERLORD_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophile
			is_overlord_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	BI_MECH_OVERLORD_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophile
			is_overlord_to = FROM
			FROM = { is_machine_empire = yes }
		}
	}

	# Jingoistic Reclaimers
	JR_ARROGANT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophobe
			FROM = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	JR_MECH_ARROGANT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophobe
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	JR_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophobe
			FROM = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	JR_MECH_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophobe
			FROM = { is_machine_empire = yes }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	JR_OVERLORD_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_xenophobe
			is_overlord_to = FROM
		}
	}

	# Doctrinal Enforcers
	DE_ARROGANT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_spiritualist
			FROM = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	DE_MECH_ARROGANT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_spiritualist
			FROM = { is_machine_empire = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	DE_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_spiritualist
			FROM = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	DE_MECH_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_spiritualist
			FROM = { is_machine_empire = yes }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	DE_OVERLORD_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_ai_personality = awakened_fallen_empire_spiritualist
			is_overlord_to = FROM
		}
	}

	### FALLEN EMPIRE GREETINGS
	# Fallen Empire (Dismissive Attitude)
	01_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	02_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	03_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	04_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	05_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	06_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	07_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}
	08_FALLEN_EMPIRE_DISMISSIVE_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	# Fallen Empire (Patronizing Attitude)
	01_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	02_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}
	03_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	04_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}
	05_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}
	06_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	07_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	08_FALLEN_EMPIRE_PATRONIZING_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	FALLEN_EMPIRE_MECH_PATRONIZING_GREETING_01 = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}
	FALLEN_EMPIRE_MECH_PATRONIZING_GREETING_02 = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}
	FALLEN_EMPIRE_MECH_PATRONIZING_GREETING_03 = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	# Fallen Empire (Angry Attitude)
	01_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
			FROM = { is_machine_empire = no }
		}
	}
	02_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
		}
	}
	03_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
			FROM = { is_machine_empire = no }
		}
	}
	04_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
		}
	}
	05_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
		}
	}
	06_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
		}
	}
	07_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
		}
	}
	08_FALLEN_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
			FROM = { is_machine_empire = no }
		}
	}
	FALLEN_EMPIRE_MECH_ANGRY_GREETING_01 = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}
	FALLEN_EMPIRE_MECH_ANGRY_GREETING_02 = {
		trigger = {
			is_country_type = fallen_empire
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
			is_fallen_empire_machine = no
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	# Fallen Empire (Dismissive Attitude)
	01_FALLEN_EMPIRE_DISMISSIVE_WAR_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_dismissive_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}
	02_FALLEN_EMPIRE_DISMISSIVE_WAR_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_dismissive_to = FROM
		}
	}
	FALLEN_EMPIRE_MECH_DISMISSIVE_WAR_GREETING_01 = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_dismissive_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			 }
		}
	}

	# Fallen Empire (Patronizing Attitude)
	01_FALLEN_EMPIRE_PATRONIZING_WAR_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_patronizing_to = FROM
		}
	}
	02_FALLEN_EMPIRE_PATRONIZING_WAR_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_patronizing_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	FALLEN_EMPIRE_MECH_PATRONIZING_WAR_GREETING_01 = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_patronizing_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			 }
		}
	}

	# Fallen Empire (Angry Attitude)
	01_FALLEN_EMPIRE_ANGRY_WAR_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_angry_to = FROM
			FROM = { is_machine_empire = no }
		}
	}
	02_FALLEN_EMPIRE_ANGRY_WAR_GREETING = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_angry_to = FROM
		}
	}
	FALLEN_EMPIRE_MECH_ANGRY_WAR_GREETING_01 = {
		trigger = {
			is_country_type = fallen_empire
			is_at_war_with = FROM
			is_angry_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			 }
		}
	}

	# Awakened Fallen Empire war greeting
	01_AWAKENED_EMPIRE_WAR_GREETING = {
		trigger = {
			is_country_type = awakened_fallen_empire
			is_fallen_empire_machine = no
			is_at_war_with = FROM
		}
	}
	02_AWAKENED_EMPIRE_WAR_GREETING = {
		trigger = {
			is_country_type = awakened_fallen_empire
			is_fallen_empire_machine = no
			is_at_war_with = FROM
		}
	}

	# For Machine Fallen Empires
	01_FALLEN_MACHINE_EMPIRE_ANGRY_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	01_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_O = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
			from = {
				NOR = {
					is_machine_empire = yes
					has_country_flag = synthetic_empire
				}
			 }
		}
	}
	02_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_O = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
			from = {
				NOR = {
					is_machine_empire = yes
					has_country_flag = synthetic_empire
				}
			 }
		}
	}
	03_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_O = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
			from = {
				NOR = {
					is_machine_empire = yes
					has_country_flag = synthetic_empire
				}
			 }
		}
	}
	01_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_S = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
			from = {
				OR = {
					is_machine_empire = yes
					has_country_flag = synthetic_empire
				}
			 }
		}
	}
	02_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_S = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
			from = {
				OR = {
					is_machine_empire = yes
					has_country_flag = synthetic_empire
				}
			 }
		}
	}
	03_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_S = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
			from = {
				OR = {
					is_machine_empire = yes
					has_country_flag = synthetic_empire
				}
			 }
		}
	}

	01_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_ALL = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
		}
	}
	02_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_ALL = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
		}
	}
	03_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_ALL = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
		}
	}
	04_FALLEN_MACHINE_EMPIRE_ENIGMATIC_GREETING_ALL = {
		trigger = {
			is_fallen_empire_machine = yes
			NOT = { is_at_war_with = FROM }
			is_enigmatic_to = FROM
		}
	}

	01_FALLEN_MACHINE_EMPIRE_WAR_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			is_at_war_with = FROM
			NOT = { is_berserker_to = FROM }
		}
	}
	02_FALLEN_MACHINE_EMPIRE_WAR_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			is_at_war_with = FROM
			NOT = { is_berserker_to = FROM }
		}
	}

	01_FALLEN_MACHINE_EMPIRE_CUSTODIAL_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			is_custodial_to = FROM
		}
	}
	02_FALLEN_MACHINE_EMPIRE_CUSTODIAL_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			is_custodial_to = FROM
		}
	}
	03_FALLEN_MACHINE_EMPIRE_CUSTODIAL_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			is_custodial_to = FROM
		}
	}

	01_FALLEN_MACHINE_EMPIRE_BERSERKER_GREETING = {
		trigger = {
			is_fallen_empire_machine = yes
			is_berserker_to = FROM
		}
	}


	### AI Personality Greetings

	# Honorbound Warriors
	HW_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HW_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HW_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			FROM = { is_pacifist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HW_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	HW_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HW_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HW_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			FROM = { is_pacifist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HW_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			FROM = { is_militarist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HW_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	HW_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HW_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_at_war = no
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HW_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_at_war = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HW_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			FROM = { is_pacifist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HW_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			is_in_federation_with = FROM
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HW_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			is_at_war_with = FROM
		}
	}
	HW_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			is_at_war_with = FROM
		}
	}
	HW_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			is_at_war_with = FROM
		}
	}
	HW_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	HW_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = honorbound_warriors
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Ruthless Capitalists
	RC_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	RC_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			FROM = { is_spiritualist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	RC_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
			FROM = { is_machine_empire = no }
		}
	}
	RC_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	RC_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	RC_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			FROM = { is_spiritualist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	RC_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			FROM = {
				exists = overlord
				overlord = { is_same_value = ROOT }
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	RC_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	RC_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	RC_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	RC_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	RC_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	RC_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			is_at_war_with = FROM
		}
	}
	RC_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			is_at_war_with = FROM
		}
	}
	RC_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			is_at_war_with = FROM
		}
	}
	RC_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			is_at_war_with = FROM
		}
	}
	RC_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	RC_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = ruthless_capitalists
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Peaceful Traders
	PT_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	PT_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	PT_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			FROM = { is_xenophobe = yes }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	PT_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	PT_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	PT_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	PT_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			FROM = { is_spiritualist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	PT_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	PT_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	PT_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = { is_machine_empire = no }
		}
	}
	PT_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	PT_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			is_at_war_with = FROM
		}
	}
	PT_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			is_at_war_with = FROM
		}
	}
	PT_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = peaceful_traders
			is_at_war_with = FROM
		}
	}
	PT_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = peaceful_traders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	PT_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = peaceful_traders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Hegemonic Imperialists
	HI_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HI_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HI_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
			FROM = { is_machine_empire = no }
		}
	}
	HI_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	HI_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HI_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HI_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	HI_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HI_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HI_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HI_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			FROM = { is_pacifist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HI_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = { is_machine_empire = no }
		}
	}
	HI_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			is_at_war_with = FROM
		}
	}
	HI_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			is_at_war_with = FROM
		}
	}
	HI_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	HI_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = hegemonic_imperialists
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Federation Builders
	FB_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = { is_machine_empire = no }
		}
	}
	FB_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	FB_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			FROM = { is_militarist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	FB_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	FB_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			has_federation = no
			has_federation = no
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	FB_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			OR = {
				has_federation = yes
				has_federation = yes
			}
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	FB_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			OR = {
				has_federation = yes
				has_federation = yes
			}
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	FB_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			NOT = { is_in_federation_with = FROM }
			FROM = { is_pacifist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	FB_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	FB_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	FB_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			OR = {
				has_federation = yes
				has_federation = yes
			}
			NOT = { is_in_federation_with = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	FB_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	FB_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	FB_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			is_at_war_with = FROM
		}
	}
	FB_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			OR = {
				has_federation = yes
				has_federation = yes
			}
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	FB_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = federation_builders
			OR = {
				has_federation = yes
				has_federation = yes
			}
			is_at_war_with = FROM
		}
	}
	FB_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = federation_builders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	FB_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = federation_builders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Xenophobic Isolationists
	XI_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	XI_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	XI_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			FROM = { is_xenophile = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	XI_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	XI_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	XI_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	XI_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			FROM = { is_xenophobe = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	XI_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	XI_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	XI_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	XI_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			FROM = {
				is_xenophobe = yes
				NOT = {
					is_machine_empire = yes
				}
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	XI_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			FROM = { is_xenophile = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	XI_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	XI_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	XI_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	XI_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			FROM = { is_militarist = yes }
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	XI_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	XI_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = xenophobic_isolationists
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Hive Mind
	HM_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HM_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HM_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HM_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			FROM = { is_egalitarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	HM_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HM_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HM_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HM_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			FROM = { is_egalitarian = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HM_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	HM_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HM_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HM_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HM_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			FROM = {
				is_egalitarian = yes
				NOT = { is_species_class = ROBOT }
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HM_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	HM_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			is_at_war_with = FROM
		}
	}
	HM_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	HM_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = hive_mind
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				is_machine_empire = no
			}
		}
	}
	HM_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = hive_mind
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	HM_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = hive_mind
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Benevolent Wilderness
	BW_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	BW_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	BW_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	BW_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			FROM = { is_egalitarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	BW_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	BW_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	BW_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	BW_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			FROM = { is_egalitarian = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	BW_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	BW_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	BW_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	BW_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	BW_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			FROM = {
				is_egalitarian = yes
				NOT = { is_species_class = ROBOT }
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	BW_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	BW_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			is_at_war_with = FROM
		}
	}
	BW_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	BW_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				is_machine_empire = no
			}
		}
	}
	BW_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	BW_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = benevolent_wilderness
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Rampant Wilderness
	RW_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# Rampant Wilderness to Machine Empire / Synthetic
	RW_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
				is_threatened_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	RW_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# RW to Machine Empire
	RW_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	RW_SYNTH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = rampant_wilderness
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				has_country_flag = synthetic_empire
			}
		}
	}
	# Migratory Flock
	MF_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					has_ethic = ethic_gestalt_consciousness
					is_nomadic = yes
				}
			}
		}
	}
	MF_HOSTILE_GREETING_01_NOMAD = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
				is_nomadic = yes
			}
		}
	}
	MF_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_at_war_with = FROM }
			NOT = { is_same_species = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
					is_species_class = ROBOT
				}
			}
		}
	}
	MF_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			FROM = { is_xenophobe = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	MF_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	MF_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	MF_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			FROM = { is_xenophobe = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	MF_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			FROM = { is_xenophile = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	MF_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	MF_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
					is_species_class = ROBOT
				}
			}
		}
	}
	MF_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
					is_species_class = ROBOT
				}
			}
		}
	}
	MF_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			FROM = {
				is_xenophile = yes
				NOT = { is_species_class = ROBOT }
			}
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	MF_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			is_at_war_with = FROM
		}
	}
	MF_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			is_at_war_with = FROM
		}
	}
	MF_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	MF_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = migrating_flock
			FROM = { is_militarist = yes }
			is_at_war_with = FROM
		}
	}
	MF_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = migrating_flock
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	MF_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = migrating_flock
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	# Evangelizing Zealots
	EZ_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	EZ_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	EZ_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			FROM = { is_spiritualist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	EZ_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			FROM = { is_materialist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	EZ_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	EZ_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	EZ_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	EZ_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			FROM = {
				is_spiritualist = yes
				NOT = { is_species_class = ROBOT }
			}
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	EZ_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			FROM = {
				is_materialist = yes
				NOT = { is_species_class = ROBOT }
			}
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	EZ_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	EZ_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	EZ_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EZ_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EZ_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			FROM = {
				is_materialist = yes
				NOT = { is_species_class = ROBOT }
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EZ_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			is_at_war_with = FROM
		}
	}
	EZ_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			is_at_war_with = FROM
		}
	}
	EZ_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			is_at_war_with = FROM
		}
	}
	EZ_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			is_at_war_with = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	EZ_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	EZ_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = evangelising_zealots
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	# Devouring Swarm
	DS_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# Devouring Swarm to Machine Empire / Synthetic
	DS_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
				is_threatened_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	DS_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# DS to Machine Empire
	DS_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = no
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_SYNTH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				has_country_flag = synthetic_empire
			}
		}
	}
	# Devouring Swarm (Lithoid World Eaters)
	DS_L_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# Devouring Swarm Lithoid to Machine Empire / Synthetic
	DS_L_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
				is_threatened_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	DS_L_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# DS_L to Machine Empire
	DS_L_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DS_L_SYNTH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = devouring_swarm
			is_lithoid_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			FROM = {
				has_country_flag = synthetic_empire
			}
		}
	}
	# Fanatical Purifiers
	FP_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	FP_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					has_civic = civic_machine_terminator
				}
			}
		}
	}
	FP_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	FP_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			is_spiritualist = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	FP_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	FP_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	FP_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM

			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	FP_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	FP_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM

			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	FP_WAR_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	FP_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	FP_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fanatic_purifiers
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Democratic Crusaders
	DC_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	DC_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	DC_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { has_election_type = democratic }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	DC_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { NOT = { has_election_type = democratic } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_HOSTILE_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = {
				is_species_class = AVI
				NOT = { has_ethic = ethic_gestalt_consciousness }
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	DC_HOSTILE_GREETING_06 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	DC_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	DC_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				has_ethic = ethic_gestalt_consciousness
			}
		}
	}
	DC_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOT = { has_ethic = ethic_gestalt_consciousness }
			}
		}
	}
	DC_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { has_election_type = democratic }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { NOT = { has_election_type = democratic } }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { has_ethic = ethic_gestalt_consciousness }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	DC_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	DC_THREATENED_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = { has_ethic = ethic_gestalt_consciousness }
		}
	}
	DC_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { has_election_type = democratic }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	DC_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { has_election_type = democratic }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	DC_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { NOT = { has_election_type = democratic } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = { has_ethic = ethic_gestalt_consciousness }
		}
	}
	DC_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	DC_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { has_election_type = democratic }
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	DC_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			FROM = { NOT = { has_election_type = democratic } }
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_WAR_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DC_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	DC_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = democratic_crusaders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Slaving Despots
	SD_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	SD_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	SD_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			FROM = { allows_slavery = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	SD_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	SD_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	SD_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			FROM = { allows_slavery = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	SD_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			FROM = { allows_slavery = no }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	SD_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				is_machine_empire = no
			}
		}
	}
	SD_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOT = { has_ethic = ethic_gestalt_consciousness }
			}
		}
	}

	SD_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	SD_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			FROM = { allows_slavery = no }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	SD_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			FROM = { exists = heir }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	SD_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	SD_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			is_at_war_with = FROM
		}
	}
	SD_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = slaving_despots
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	SD_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = slaving_despots
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	SD_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = slaving_despots
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Decadant Hierarchy
	DH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	DH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	DH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	DH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	DH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			is_xenophile = yes
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	DH_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			FROM = { allows_slavery = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	DH_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	DH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	DH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	DH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			FROM = { allows_slavery = no }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	DH_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			is_at_war_with = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	DH_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DH_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			is_xenophobe = yes
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	DH_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	DH_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = decadent_hierarchy
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Erudite Explorers
	EE_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	EE_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	EE_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	EE_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			FROM = { is_authoritarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	EE_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	EE_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	EE_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	EE_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	EE_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	EE_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EE_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EE_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			FROM = { is_materialist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EE_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			is_in_federation_with = FROM
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	EE_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			is_at_war_with = FROM
		}
	}
	EE_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	EE_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = erudite_explorers
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			is_at_war_with = FROM
		}
	}
	EE_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = erudite_explorers
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	EE_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = erudite_explorers
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Spiritual Seekers
	SS_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	SS_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	SS_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	SS_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			FROM = { is_materialist = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	SS_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	SS_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	SS_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	SS_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			FROM = { is_materialist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	SS_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	SS_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	SS_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	SS_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			FROM = { is_spiritualist = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	SS_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			is_at_war_with = FROM
		}
	}
	SS_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			is_at_war_with = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	SS_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			is_at_war_with = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	SS_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			FROM = { is_materialist = yes }
			is_at_war_with = FROM
		}
	}
	SS_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	SS_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = spiritual_seekers
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Harmonious Collective
		HC_HOSTILE_GREETING_01 = {
			weight = {
				weight = 3
			}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	HC_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HC_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			FROM = { NOT = { has_election_type = democratic } }
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HC_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			FROM = { is_egalitarian = yes }
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HC_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_domineering_to = FROM
			}
		}
	}
	HC_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_same_species = FROM }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HC_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOT = {
					has_ethic = ethic_gestalt_consciousness
				}
			}
		}
	}
	HC_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			FROM = {
				is_egalitarian = yes
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HC_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			FROM = { is_pacifist = yes }
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
		}
	}
	HC_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
		}
	}
	HC_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HC_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HC_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			FROM = { is_authoritarian = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	HC_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			is_at_war_with = FROM
		}
	}
	HC_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			is_at_war_with = FROM
		}
	}
	HC_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			FROM = { is_egalitarian = yes }
			is_at_war_with = FROM
		}
	}

	HC_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	HC_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = harmonious_hierarchy
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	### Fallen Empire AI Personality Greetings
	# Holy Guardians
	HG_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			from = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}
	HG_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	HG_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HG_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HG_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			from = { NOT = {is_machine_empire = yes } }
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	HG_MECH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			 }
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	HG_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_spiritualist
			is_at_war_with = FROM
		}
	}
	HG_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_spiritualist
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	HG_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_spiritualist
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}
	# Keepers of Knowledge
	KK_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	KK_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_materialist
			from = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	KK_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	KK_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_materialist
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	KK_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_materialist
			is_at_war_with = FROM
		}
	}
	KK_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_materialist
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	KK_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_materialist
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	# Militant Isolationists
	MI_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophobe
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	MI_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophobe
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	MI_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophobe
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	MI_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophobe
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	MI_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophobe
			is_at_war_with = FROM
		}
	}
	MI_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_xenophobe
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	MI_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_xenophobe
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = { NOT = { has_ethic = ethic_gestalt_consciousness } }
		}
	}
	# Enigmatic Observers
	EO_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	EO_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	EO_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}
	EO_MECH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	EO_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophile
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	EO_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_ai_personality = fallen_empire_xenophile
			is_at_war_with = FROM
		}
	}
	EO_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_xenophile
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	EO_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_ai_personality = fallen_empire_xenophile
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
		}
	}

	# Fallen Empire: Hive Mind: War
	HMW_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_war_splinter
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	HMW_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_war_splinter
			from = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HMW_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_war_splinter
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HMW_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_war_splinter
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	HMW_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_war_splinter
			is_at_war_with = FROM
		}
	}
	HMW_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_war_splinter
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	HMW_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_war_splinter
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	# Fallen Empire: Hive Mind: Growth
	HMG_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_growth_splinter
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	HMG_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_growth_splinter
			from = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HMG_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_growth_splinter
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HMG_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_growth_splinter
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	HMG_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_growth_splinter
			is_at_war_with = FROM
		}
	}
	HMG_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_growth_splinter
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	HMG_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_growth_splinter
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	# Fallen Empire: Hive Mind: Control
	HMC_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_control_splinter
			NOT = { is_at_war_with = FROM }
			is_angry_to = FROM
		}
	}

	HMC_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_control_splinter
			from = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HMC_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_control_splinter
			NOT = { is_at_war_with = FROM }
			is_dismissive_to = FROM
		}
	}

	HMC_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_control_splinter
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	HMC_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = fallen_empire
			has_government = gov_control_splinter
			is_at_war_with = FROM
		}
	}
	HMC_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_control_splinter
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	HMC_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_control_splinter
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	# Awakened Empire: Hive Mind
	AHM_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_government = gov_fused_ascendancy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_angry_to = FROM
				is_belligerent_to = FROM
			}
		}
	}

	AHM_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_government = gov_fused_ascendancy
			from = { is_machine_empire = no }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_dismissive_to = FROM
				is_imperious_to = FROM
				is_arrogant_to = FROM
			}
		}
	}

	AHM_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_government = gov_fused_ascendancy
			NOT = { is_at_war_with = FROM }
			OR = {
				is_dismissive_to = FROM
				is_imperious_to = FROM
				is_arrogant_to = FROM
			}
		}
	}

	AHMW_NEUTRAL_GREETING_01 = { # Memories of War greeting
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_civic = civic_ancient_memories_of_war
			NOT = { is_at_war_with = FROM }
			OR = {
				is_dismissive_to = FROM
				is_imperious_to = FROM
				is_arrogant_to = FROM
			}
		}
	}
	AHMG_NEUTRAL_GREETING_01 = { # Memories of Growth greeting
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_civic = civic_ancient_memories_of_growth
			NOT = { is_at_war_with = FROM }
			OR = {
				is_dismissive_to = FROM
				is_imperious_to = FROM
				is_arrogant_to = FROM
			}
		}
	}
	AHMC_NEUTRAL_GREETING_01 = { # Memories of Control greeting
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_civic = civic_ancient_memories_of_control
			NOT = { is_at_war_with = FROM }
			OR = {
				is_dismissive_to = FROM
				is_imperious_to = FROM
				is_arrogant_to = FROM
			}
		}
	}

	AHM_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_government = gov_fused_ascendancy
			NOT = { is_at_war_with = FROM }
			is_patronizing_to = FROM
		}
	}

	AHM_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_country_type = awakened_fallen_empire
			has_government = gov_fused_ascendancy
			is_at_war_with = FROM
		}
	}
	AHM_VASSAL_GREETING_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_fused_ascendancy
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			NOT = { is_disloyal_to = FROM }
		}
	}
	AHM_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 10
		}
		trigger = {
			has_government = gov_fused_ascendancy
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }
			is_disloyal_to = FROM
			FROM = {
				NOT = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	### BLORG GREETINGS
	01_VERY_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			NOT = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_VERY_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			NOT = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	03_VERY_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			NOT = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	04_VERY_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			NOT = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	05_VERY_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			NOT = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	01_SOMEWHAT_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_SOMEWHAT_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	03_SOMEWHAT_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	01_PRE_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			is_at_war_with = FROM
		}
	}
	02_PRE_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			is_at_war_with = FROM
		}
	}
	03_PRE_FRIENDLY_GREETING = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			is_at_war_with = FROM
		}
	}
	01_BEST_FRIEND = {
		weight = {
			weight = 1000
		}
		trigger = {
			has_ai_personality = fanatic_befrienders
			exists = overlord
			overlord = { is_same_value = FROM }
			NOT = { is_at_war_with = FROM }

		}
	}

	### Machine Empire Greetings

	# Generic

	MECH_ORG_HOSTILE_GREETING_01 = {
		weight = {
			weight = 100
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
					is_species_class = ROBOT
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_ORG_HOSTILE_GREETING_02 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_ORG_HOSTILE_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_ORG_HOSTILE_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_ORG_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			is_domineering_to = FROM
		}
	}

	MECH_ORG_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			is_domineering_to = FROM
		}
	}

	MECH_ORG_DOMINEERING_GREETING_03 = {
		weight = {
			weight = 50
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
			is_domineering_to = FROM
		}
	}

	MECH_ORG_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 50
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_ORG_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_ORG_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_ORG_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_ORG_THREATENED_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			is_threatened_to = FROM
		}
	}

	MECH_ORG_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_ORG_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_ORG_FRIENDLY_GREETING_03 = { # "our fleshy friends"
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					has_origin = origin_cybernetic_creed
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_ORG_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 50
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_ORG_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_ORG_WAR_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
			}
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_ORG_WAR_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
			}
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_ORG_WAR_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
			}
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_ORG_WAR_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
			}
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_ORG_VASSAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
				is_disloyal_to = FROM
			}
		}
	}

	MECH_ORG_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_disloyal_to = FROM
		}
	}

	MECH_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_MECH_HOSTILE_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_MECH_HOSTILE_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_MECH_HOSTILE_GREETING_05 = {
		weight = {
			weight = 100
		}
		trigger = {
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	MECH_MECH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_domineering_to = FROM
		}
	}

	MECH_MECH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_MECH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_MECH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_neutral_to = FROM
		}
	}

	MECH_MECH_THREATENED_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			is_threatened_to = FROM
		}
	}

	MECH_MECH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_MECH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_MECH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_MECH_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
				has_civic = civic_machine_servitor
				is_at_war_with = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	MECH_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_WAR_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_WAR_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_WAR_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			OR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_WAR_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_WAR_GREETING_06 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_WAR_GREETING_07 = {
		weight = {
			weight = 100
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			NOR = {
				has_civic = civic_machine_terminator
				has_civic = civic_machine_assimilator
			}
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_disloyal_to = FROM
				is_at_war_with = FROM
				has_civic = civic_machine_assimilator
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_MECH_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_country_type = default
			is_machine_empire = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_at_war_with = FROM
				has_civic = civic_machine_assimilator
			}
			is_disloyal_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	# Terminator
	MECH_E_ORG_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_ORG_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_ORG_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_ORG_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_ORG_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}
	MECH_E_ORG_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_MECH_GREETING_01 = {
		weight = {
			weight = 3000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_MECH_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				is_machine_empire = yes
			}
		}
	}

	MECH_E_MECH_GREETING_03 = {
		weight = {
			weight = 8000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_MECH_GREETING_04 = {
		weight = {
			weight = 2000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_MECH_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	MECH_E_SYNTH_GREETING_01 = {
		weight = {
			weight = 3000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_WAR_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			is_at_war_with = from
		}
	}

	MECH_E_WAR_ORG_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	MECH_E_WAR_ORG_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	MECH_E_WAR_ORG_GREETING_03 = {
		weight = {
			weight = 6000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	MECH_E_WAR_MECH_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			is_at_war_with = from
			from = {
				is_machine_empire = yes
			}
		}
	}

	# Assimilator Greetings
	A_ORG_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_HOSTILE_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_HOSTILE_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_HOSTILE_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_HOSTILE_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_domineering_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_threatened_to = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_WAR_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_WAR_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			is_at_war_with = from
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_VASSAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_VASSAL_GREETING_02 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_ORG_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				is_disloyal_to = FROM
			}
			from = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_HOSTILE_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_domineering_to = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
				NOT = {
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	A_MECH_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_domineering_to = from
			from = {
				has_civic = civic_machine_assimilator
			}
		}
	}

	A_MECH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				NOT = { has_civic = civic_machine_assimilator }
			}
		}
	}

	A_MECH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			is_threatened_to = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				NOT = {
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	A_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_WAR_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			is_at_war_with = from
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	A_MECH_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				is_disloyal_to = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	# Servitor Greetings
	S_ORG_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_07 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOT = { is_at_war_with = from }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_08 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOT = { is_at_war_with = from }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_09 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOT = { is_at_war_with = from }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_HOSTILE_GREETING_10 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOT = { is_at_war_with = from }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = from
			NOT = { is_at_war_with = from }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = from
			NOT = { is_at_war_with = from }
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = from }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_NEUTRAL_GREETING_07 = { # "adorable Bio-Trophies"
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_neutral_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
					is_cyborg_empire = yes
				}
			}
		}
	}

	S_ORG_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_THREATENED_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_THREATENED_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			is_threatened_to = FROM
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}
	S_ORG_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_07 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_08 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_WAR_GREETING_09 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_VASSAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_VASSAL_GREETING_02 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_ORG_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			AND = {
				exists = overlord
				is_disloyal_to = FROM
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
			}
			FROM = {
				NOR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	# Servitors to Machines

	S_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				NOT = {
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	S_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_HOSTILE_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_HOSTILE_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_HOSTILE_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				NOT = {
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	S_MECH_HOSTILE_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_hostile_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					OR = {
						is_machine_empire = yes
						is_individual_machine = yes
					}
					is_species_class = ROBOT
				}
			}
		}
	}

	S_MECH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_DOMINEERING_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_DOMINEERING_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_DOMINEERING_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_neutral_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_neutral_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_neutral_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				NOT = {
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	S_MECH_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_neutral_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_neutral_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_NEUTRAL_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_neutral_to = FROM
			NOT = { is_at_war_with = FROM }
			FROM = {
				is_machine_empire = yes
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			is_threatened_to = FROM
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_friendly_to = FROM
				is_protective_to = FROM
				is_cordial_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_friendly_to = FROM
				is_protective_to = FROM
				is_cordial_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_friendly_to = FROM
				is_protective_to = FROM
				is_cordial_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_friendly_to = FROM
				is_protective_to = FROM
				is_cordial_to = FROM
			}
			FROM = {
				is_machine_empire = yes
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_friendly_to = FROM
				is_protective_to = FROM
				is_cordial_to = FROM
			}
			FROM = {
				is_machine_empire = yes
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_FRIENDLY_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			OR = {
				is_friendly_to = FROM
				is_protective_to = FROM
				is_cordial_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
				NOT = {
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	S_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_WAR_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_WAR_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_WAR_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_WAR_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				is_machine_empire = yes
				has_civic = civic_machine_servitor
			}
		}
	}

	S_MECH_WAR_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = FROM
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			FROM = {
				has_civic = civic_machine_servitor
				is_machine_empire = yes
			}
		}
	}

	S_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}

	S_MECH_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				is_disloyal_to = FROM
			}
			FROM = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
					is_individual_machine = yes
				}
			}
		}
	}



	#Mechanical to Synthetic Empire GREETINGS

	MECH_SYNTH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_05 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_06 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_07 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_HOSTILE_GREETING_08 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_S_SYNTH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_A_SYNTH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_domineering_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_domineering_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_DOMINEERING_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_domineering_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 2000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_NEUTRAL_GREETING_06 = {
		weight = {
			weight = 2000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_neutral_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			is_threatened_to = from
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_THREATENED_GREETING_01 = {
			weight = {
				weight = 3000
			}
			trigger = {
				is_machine_empire = yes
				has_civic = civic_machine_terminator
				NOT = { is_at_war_with = from }
				is_threatened_to = from
				from = {
					has_country_flag = synthetic_empire
				}
			}
		}

	MECH_S_SYNTH_THREATENED_GREETING_01 = {
			weight = {
				weight = 3000
			}
			trigger = {
				is_machine_empire = yes
				has_civic = civic_machine_servitor
				NOT = { is_at_war_with = from }
				is_threatened_to = from
				from = {
					has_country_flag = synthetic_empire
				}
			}
		}

	MECH_A_SYNTH_THREATENED_GREETING_01 = {
			weight = {
				weight = 3000
			}
			trigger = {
				is_machine_empire = yes
				has_civic = civic_machine_assimilator
				NOT = { is_at_war_with = from }
				is_threatened_to = from
				from = {
					has_country_flag = synthetic_empire
				}
			}
		}

	MECH_SYNTH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 3000
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 200
		}
		trigger = {
			is_machine_empire = yes
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 8000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_S_SYNTH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 8000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_A_SYNTH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 8000
		}
		trigger = {
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			NOT = { is_at_war_with = from }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			is_country_type = default
			is_machine_empire = yes
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_WAR_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			is_country_type = default
			is_machine_empire = yes
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_WAR_GREETING_03 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			is_country_type = default
			is_machine_empire = yes
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_WAR_GREETING_04 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			is_country_type = default
			is_machine_empire = yes
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_WAR_GREETING_01 = {
		weight = {
			weight = 3000
		}
		trigger = {
			is_at_war_with = from
			is_machine_empire = yes
			has_civic = civic_machine_terminator
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_WAR_GREETING_01 = {
		weight = {
			weight = 3000
		}
		trigger = {
			is_at_war_with = from
			is_machine_empire = yes
			has_civic = civic_machine_servitor
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_E_SYNTH_WAR_GREETING_01 = {
		weight = {
			weight = 3000
		}
		trigger = {
			is_at_war_with = from
			is_machine_empire = yes
			has_civic = civic_machine_assimilator
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_VASSAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_VASSAL_GREETING_02 = {
		weight = {
			weight = 12000
		}
		trigger = {
			is_machine_empire = yes
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	MECH_SYNTH_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_machine_empire = yes
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				is_disloyal_to = FROM
			}
			from = {
				has_country_flag = synthetic_empire
			}
		}
	}

	#Organic to Mechanical Empire GREETINGS

	ORG_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_egalitarian = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
					has_country_flag = synthetic_empire
					is_species_class = ROBOT
				}
			}
		}
	}

	ORG_MECH_HOSTILE_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_pacifist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_HOSTILE_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				is_machine_empire = yes
			}
		}
	}

	ORG_MECH_HOSTILE_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				is_machine_empire = yes
			}
		}
	}

	ORG_E_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_terminator
				}
			}
		}
	}

	ORG_S_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	ORG_A_HOSTILE_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_xenophile = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_A_HOSTILE_GREETING_02 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_MECH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 2000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_DOMINEERING_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}
	ORG_E_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_terminator
				}
			}
		}
	}
	ORG_S_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}
	ORG_A_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_MECH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}
	ORG_E_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_terminator
				}
			}
		}
	}
	ORG_S_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_species_class = ROBOT
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_spiritualist = yes
				is_authoritarian = yes
				is_xenophobe = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}
	ORG_S_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_neutral_to = from
			OR = {
				is_authoritarian = yes
				is_xenophobe = yes
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
				AND = {
					exists = event_target:ratling_country
					is_same_empire = event_target:ratling_country
				}
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}
	ORG_A_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 19000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_MECH_THREATENED_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_threatened_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_E_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_threatened_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_terminator
				}
			}
		}
	}

	ORG_S_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_threatened_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	ORG_A_THREATENED_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_threatened_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_MECH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_E_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_terminator
				}
			}
		}
	}

	ORG_S_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	ORG_A_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_at_war_with = FROM
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_WAR_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_fanatic_egalitarian = yes
				is_fanatic_pacifist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_WAR_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
				is_fanatic_pacifist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_WAR_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_WAR_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_E_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_terminator
				}
			}
		}
	}

	ORG_S_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_servitor
				}
			}
		}
	}

	ORG_A_WAR_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				AND = {
					is_machine_empire = yes
					has_civic = civic_machine_assimilator
				}
			}
		}
	}

	ORG_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	ORG_MECH_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 9000
		}
		trigger = {
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				OR = {
					is_at_war_with = FROM
					is_disloyal_to = FROM
				}
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_spiritualist = yes
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_individual_machine = yes
				}
			}
		}
	}

	# Spiritualists to Machines: Greetings

	SPIR_MECH_HOSTILE_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_HOSTILE_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_HOSTILE_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_HOSTILE_GREETING_04 = { # "affront to all that is good and holy"
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_hostile_to = from
				is_unfriendly_to = from
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			NOT = {
				has_origin = origin_cybernetic_creed
			}
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_DOMINEERING_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_DOMINEERING_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				is_machine_empire = yes
				is_individual_machine = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_DOMINEERING_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_domineering_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_neutral_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_THREATENED_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_threatened_to = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_at_war_with = FROM
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_WAR_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_WAR_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_individual_machine = yes
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_WAR_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}

	SPIR_MECH_WAR_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = from
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
				is_individual_machine = yes
			}
			is_spiritualist = yes
			from = {
				is_machine_empire = yes
			}
		}
	}


	SPIR_MECH_VASSAL_GREETING_01 = {
		weight = {
			weight = 9000
		}
		trigger = {
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				NOT = { is_at_war_with = FROM }
				NOT = { is_disloyal_to = FROM }
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	SPIR_MECH_VASSAL_GREETING_01_DISLOYAL = {
		weight = {
			weight = 9000
		}
		trigger = {
			AND = {
				exists = overlord
				overlord = { is_same_value = FROM }
				OR = {
					is_at_war_with = FROM
					is_disloyal_to = FROM
				}
			}
			NOR = {
				is_machine_empire = yes
				is_species_class = ROBOT
			}
			is_spiritualist = yes
			from = {
				OR = {
					is_machine_empire = yes
					is_species_class = ROBOT
				}
			}
		}
	}

	# Horde Successor States
	HORDE_SUCCESSOR_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			NOT = { is_at_war_with = FROM }
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			NOT = { is_at_war_with = FROM }
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			NOT = { is_at_war_with = FROM }
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			NOT = { is_at_war_with = FROM }
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			NOT = { is_at_war_with = FROM }
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_GREETING_06 = {
		weight = {
			weight = 1000
		}
		trigger = {
			NOT = { is_at_war_with = FROM }
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}

	HORDE_SUCCESSOR_WAR_GREETING_01 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = FROM
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_WAR_GREETING_02 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = FROM
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_WAR_GREETING_03 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = FROM
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_WAR_GREETING_04 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = FROM
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_WAR_GREETING_05 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = FROM
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}
	HORDE_SUCCESSOR_WAR_GREETING_06 = {
		weight = {
			weight = 1000
		}
		trigger = {
			is_at_war_with = FROM
			OR = {
				has_government = gov_diadochi
				has_government = gov_successor_khanate
			}
		}
	}

	# Colossus Greetings
	FRIENDLY_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	FRIENDLY_COLOSSUS_GREETING_02 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	FRIENDLY_COLOSSUS_REACT_GREETING_01 = {
		trigger = {
			from = {
				any_controlled_ship = { is_ship_size = colossus }
			}
			NOR = {
				any_controlled_ship = { is_ship_size = colossus }
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	FRIENDLY_COLOSSUS_REACT_GREETING_02 = {
		trigger = {
			from = {
				any_controlled_ship = { is_ship_size = colossus }
			}
			NOR = {
				any_controlled_ship = { is_ship_size = colossus }
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	NEUTRAL_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	NEUTRAL_COLOSSUS_GREETING_02 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	NEUTRAL_COLOSSUS_REACT_GREETING_01 = {
		trigger = {
			from = {
				any_controlled_ship = { is_ship_size = colossus }
			}
			NOR = {
				any_controlled_ship = { is_ship_size = colossus }
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	NEUTRAL_COLOSSUS_REACT_GREETING_02 = {
		trigger = {
			from = {
				any_controlled_ship = { is_ship_size = colossus }
			}
			NOR = {
				any_controlled_ship = { is_ship_size = colossus }
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	HOSTILE_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	HOSTILE_COLOSSUS_GREETING_02 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
				is_fallen_empire = yes
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	HOSTILE_COLOSSUS_REACT_GREETING_01 = {
		trigger = {
			from = {
				any_controlled_ship = { is_ship_size = colossus }
			}
			NOR = {
				any_controlled_ship = { is_ship_size = colossus }
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	HOSTILE_COLOSSUS_REACT_GREETING_02 = {
		trigger = {
			from = {
				any_controlled_ship = { is_ship_size = colossus }
			}
			NOR = {
				any_controlled_ship = { is_ship_size = colossus }
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_pacifist = yes
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	PACIFIST_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
				is_fallen_empire = yes
			}
			is_pacifist = yes
		}
	}

	SPIRITUALIST_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
			}
			is_spiritualist = yes
		}
	}

	MATERIALIST_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_at_war_with = FROM
			}
			is_materialist = yes
		}
	}

	PURIFIER_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			has_valid_civic = civic_fanatic_purifiers
		}
	}

	EXTERMINATOR_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			has_government = gov_machine_terminator
		}
	}

	HIVE_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			is_hive_empire = yes
			is_fallen_empire = no
		}
	}

	WAR_COLOSSUS_GREETING_01 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			is_at_war_with = FROM
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_pacifist = yes
			}
		}
	}

	WAR_COLOSSUS_GREETING_02 = {
		trigger = {
			any_controlled_ship = { is_ship_size = colossus }
			is_at_war_with = FROM
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				has_valid_civic = civic_fanatic_purifiers
				is_pacifist = yes
			}
		}
	}

	### Ketling Greetings
	KET_HOSTILE_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	KET_NEUTRAL_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	KET_THREATENED_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			NOT = { is_at_war_with = from }
			is_threatened_to = FROM
		}
	}
	KET_FRIENDLY_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	KET_WAR_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			is_at_war_with = FROM
		}
	}
	KET_OVERLORD_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			is_overlord_to = FROM
		}
	}
	KET_VASSAL_GREETING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_at_war_with = FROM
				is_disloyal_to = FROM
			}
		}
	}
	KET_VASSAL_GREETING_DISLOYAL = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			exists = overlord
			overlord = { is_same_value = FROM }
			is_disloyal_to = FROM
			NOT = { is_at_war_with = FROM }
		}
	}
	KET_VASSAL_DOMINEERING = {
		weight = {
			weight = 100000
		}
		trigger = {
			AND = {
				exists = event_target:ratling_country
				is_same_empire = event_target:ratling_country
			}
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
		}
	}

	### Corporate Greetings
	CORP_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	CORP_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	CORP_HOSTILE_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	CORP_CORP_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	CORP_CORP_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	CORP_CORP_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	CORP_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	CORP_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	CORP_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	CORP_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	CORP_CORP_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	CORP_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = from }
			is_threatened_to = FROM
		}
	}
	CORP_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	CORP_CORP_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	CORP_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			is_at_war_with = FROM
		}
	}
	CORP_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			is_at_war_with = FROM
		}
	}
	CORP_WAR_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			is_at_war_with = FROM
		}
	}
	CORP_CORP_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			FROM = { is_megacorp = yes }
			is_at_war_with = FROM
		}
	}
	CORP_CORP_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			FROM = { is_megacorp = yes }
			is_at_war_with = FROM
		}
	}
	CORP_OVERLORD_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			is_overlord_to = FROM
		}
	}
	CORP_OVERLORD_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			is_overlord_to = FROM
		}
	}
	CORP_VASSAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_at_war_with = FROM
				is_disloyal_to = FROM
			}
		}
	}
	CORP_VASSAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_at_war_with = FROM
				is_disloyal_to = FROM
			}
		}
	}
	CORP_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			exists = overlord
			overlord = { is_same_value = FROM }
			is_disloyal_to = FROM
			NOT = { is_at_war_with = FROM }
		}
	}
	CORP_VASSAL_DOMINEERING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			is_megacorp = yes
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
		}
	}
	### Greetings to Corporations
	TO_CORP_HOSTILE_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_HOSTILE_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_HOSTILE_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_HOSTILE_GREETING_04 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_HOSTILE_GREETING_05 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_HOSTILE_GREETING_06 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_GREETING_HOSTILE_EG_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			is_egalitarian = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	TO_CORP_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	TO_CORP_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	TO_CORP_THREATENED_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = from }
			is_threatened_to = FROM
		}
	}
	TO_CORP_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	TO_CORP_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	TO_CORP_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	TO_CORP_WAR_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			is_at_war_with = FROM
		}
	}
	TO_CORP_WAR_GREETING_02 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			is_at_war_with = FROM
		}
	}
	TO_CORP_WAR_GREETING_03 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			is_at_war_with = FROM
		}
	}

	TO_CORP_VASSAL_GREETING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			exists = overlord
			overlord = { is_same_value = FROM }
			NOR = {
				is_at_war_with = FROM
				is_disloyal_to = FROM
			}
		}
	}
	TO_CORP_VASSAL_GREETING_DISLOYAL_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			exists = overlord
			overlord = { is_same_value = FROM }
			is_disloyal_to = FROM
			NOT = { is_at_war_with = FROM }
		}
	}
	TO_CORP_VASSAL_DOMINEERING_01 = {
		weight = {
			weight = 3
		}
		trigger = {
			FROM = { is_megacorp = yes }
			is_domineering_to = FROM
			NOT = { is_at_war_with = FROM }
		}
	}

	### Scion Origin Greetings

	# FE to Scion
	FE_TO_SCION_GREETING_01 = { # we knew you were special
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_02 = { # additional instructions?
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_03 = { # perhaps someday you'll be great
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_04 = { # you are fortunate...
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_05 = { # I never expected you to get this far
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_06 = { # seeing you here now...
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_07 = { # simpler times
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
		}
	}
	FE_TO_SCION_GREETING_08 = { # we're busy right now
		weight = {
			weight = 100000
		}
		trigger = {
			OR = {
				is_country_type = fallen_empire
				is_country_type = awakened_fallen_empire
			}
			is_overlord_to = FROM
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			is_at_war = yes
		}
	}

	# Scion to Scion
	SCION_TO_SCION_GREETING_01 = { # we're the favorites
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				is_overlord_to = FROM
				is_overlord_to = ROOT
			}
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
		}
	}
	SCION_TO_SCION_GREETING_02 = { # inheritance
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				is_overlord_to = FROM
				is_overlord_to = ROOT
			}
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
		}
	}
	SCION_TO_SCION_GREETING_03 = { # they like us more than you
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				is_overlord_to = FROM
				is_overlord_to = ROOT
			}
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
		}
	}
	SCION_TO_SCION_GREETING_04 = { # did the masters mention us?
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				is_overlord_to = FROM
				is_overlord_to = ROOT
			}
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
		}
	}
	SCION_TO_SCION_GREETING_05 = { # we've accepted our role
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				is_overlord_to = FROM
				is_overlord_to = ROOT
			}
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
		}
	}
	SCION_TO_SCION_GREETING_06 = { # greetings, fellow Scions
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				is_overlord_to = FROM
				is_overlord_to = ROOT
			}
			FROM = {
				has_origin = origin_scion
				any_agreement = {
					agreement_preset = preset_scion
				}
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
		}
	}

	# Scion to Other Empire
	SCION_TO_EMPIRE_GREETING_01 = { # they know what's best
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOT = { is_overlord_to = FROM }
				is_overlord_to = ROOT
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SCION_TO_EMPIRE_GREETING_02 = { # our masters have a plan
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOT = { is_overlord_to = FROM }
				is_overlord_to = ROOT
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SCION_TO_EMPIRE_GREETING_03 = { # great honor to serve
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOT = { is_overlord_to = FROM }
				is_overlord_to = ROOT
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SCION_TO_EMPIRE_GREETING_04 = { # perhaps one day you'll join
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOT = { is_overlord_to = FROM }
				is_overlord_to = ROOT
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SCION_TO_EMPIRE_GREETING_05 = { # do you not feel lost?
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOT = { is_overlord_to = FROM }
				is_overlord_to = ROOT
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SCION_TO_EMPIRE_GREETING_06 = { # perhaps you'll benefit from wisdom
		weight = {
			weight = 100000
		}
		trigger = {
			any_country = {
				OR = {
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOT = { is_overlord_to = FROM }
				is_overlord_to = ROOT
			}
			has_origin = origin_scion
			any_agreement = {
				agreement_preset = preset_scion
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	### Galactic Emperor ###

	# NEUTRAL

	# Generic
	EMPEROR_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_NEUTRAL_GREETING_06 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Emperor to Outsider
	EMPEROR_TO_OUTSIDER_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	EMPEROR_TO_OUTSIDER_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	EMPEROR_TO_OUTSIDER_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}

	# Emperor to Subject
	EMPEROR_TO_SUBJECT_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	EMPEROR_TO_SUBJECT_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	EMPEROR_TO_SUBJECT_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}

	# HOSTILE

	# Generic
	EMPEROR_HOSTILE_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_HOSTILE_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_HOSTILE_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_HOSTILE_GREETING_04 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_HOSTILE_GREETING_05 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_HOSTILE_GREETING_06 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Emperor to Outsider
	EMPEROR_TO_OUTSIDER_HOSTILE_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	EMPEROR_TO_OUTSIDER_HOSTILE_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	EMPEROR_TO_OUTSIDER_HOSTILE_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}

	# Emperor to Subject
	EMPEROR_TO_SUBJECT_HOSTILE_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	EMPEROR_TO_SUBJECT_HOSTILE_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	EMPEROR_TO_SUBJECT_HOSTILE_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}

	# FRIENDLY

	# Generic
	EMPEROR_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	EMPEROR_FRIENDLY_GREETING_06 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Emperor to Outsider
	EMPEROR_TO_OUTSIDER_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	EMPEROR_TO_OUTSIDER_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	EMPEROR_TO_OUTSIDER_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}

	# Emperor to Subject
	EMPEROR_TO_SUBJECT_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	EMPEROR_TO_SUBJECT_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	EMPEROR_TO_SUBJECT_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_emperor = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}

	# Imperial Subject - Neutral
	SUBJECT_TO_EMPEROR_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SUBJECT_TO_EMPEROR_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SUBJECT_TO_EMPEROR_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Imperial Subject - Hostile
	SUBJECT_TO_EMPEROR_HOSTILE_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SUBJECT_TO_EMPEROR_HOSTILE_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SUBJECT_TO_EMPEROR_HOSTILE_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Imperial Subject - Friendly
	SUBJECT_TO_EMPEROR_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SUBJECT_TO_EMPEROR_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	SUBJECT_TO_EMPEROR_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_emperor = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Outsider - Neutral
	OUTSIDER_TO_EMPEROR_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_EMPEROR_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_EMPEROR_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Outsider - Hostile
	OUTSIDER_TO_EMPEROR_HOSTILE_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_EMPEROR_HOSTILE_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_EMPEROR_HOSTILE_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Outsider - Friendly
	OUTSIDER_TO_EMPEROR_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_EMPEROR_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_EMPEROR_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_emperor = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	### Galactic Custodian ###

	# NEUTRAL

	# Generic
	CUSTODIAN_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_NEUTRAL_GREETING_04 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_NEUTRAL_GREETING_05 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_NEUTRAL_GREETING_06 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Custodian to Outsider
	CUSTODIAN_TO_OUTSIDER_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	CUSTODIAN_TO_OUTSIDER_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	CUSTODIAN_TO_OUTSIDER_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}

	# Custodian to Community member
	CUSTODIAN_TO_COMMUNITY_MEMBER_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	CUSTODIAN_TO_COMMUNITY_MEMBER_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	CUSTODIAN_TO_COMMUNITY_MEMBER_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}

	# HOSTILE

	# Generic
	CUSTODIAN_HOSTILE_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_HOSTILE_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_HOSTILE_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_HOSTILE_GREETING_04 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_HOSTILE_GREETING_05 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_HOSTILE_GREETING_06 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Custodian to Outsider
	CUSTODIAN_TO_OUTSIDER_HOSTILE_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	CUSTODIAN_TO_OUTSIDER_HOSTILE_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	CUSTODIAN_TO_OUTSIDER_HOSTILE_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}

	# Custodian to Community Member
	CUSTODIAN_TO_COMMUNITY_MEMBER_HOSTILE_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	CUSTODIAN_TO_COMMUNITY_MEMBER_HOSTILE_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	CUSTODIAN_TO_COMMUNITY_MEMBER_HOSTILE_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}

	# FRIENDLY

	# Generic
	CUSTODIAN_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_FRIENDLY_GREETING_04 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_FRIENDLY_GREETING_05 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	CUSTODIAN_FRIENDLY_GREETING_06 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Custodian to Outsider
	CUSTODIAN_TO_OUTSIDER_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	CUSTODIAN_TO_OUTSIDER_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}
	CUSTODIAN_TO_OUTSIDER_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = no }
		}
	}

	# Custodian to Community Member
	CUSTODIAN_TO_COMMUNITY_MEMBER_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	CUSTODIAN_TO_COMMUNITY_MEMBER_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}
	CUSTODIAN_TO_COMMUNITY_MEMBER_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 10000
		}
		trigger = {
			is_galactic_custodian = yes
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
			from = { is_galactic_community_member = yes }
		}
	}

	# Community Member - Neutral
	MEMBER_TO_CUSTODIAN_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	MEMBER_TO_CUSTODIAN_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	MEMBER_TO_CUSTODIAN_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Community Member - Hostile
	MEMBER_TO_CUSTODIAN_HOSTILE_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	MEMBER_TO_CUSTODIAN_HOSTILE_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	MEMBER_TO_CUSTODIAN_HOSTILE_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Community Member - Friendly
	MEMBER_TO_CUSTODIAN_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	MEMBER_TO_CUSTODIAN_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	MEMBER_TO_CUSTODIAN_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = yes
			from = { is_galactic_custodian = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Outsider - Neutral
	OUTSIDER_TO_CUSTODIAN_NEUTRAL_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_CUSTODIAN_NEUTRAL_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_CUSTODIAN_NEUTRAL_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Outsider - Hostile
	OUTSIDER_TO_CUSTODIAN_HOSTILE_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_CUSTODIAN_HOSTILE_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_CUSTODIAN_HOSTILE_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}

	# Outsider - Friendly
	OUTSIDER_TO_CUSTODIAN_FRIENDLY_GREETING_01 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_CUSTODIAN_FRIENDLY_GREETING_02 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}
	OUTSIDER_TO_CUSTODIAN_FRIENDLY_GREETING_03 = {
		weight = {
			weight = 6
		}
		trigger = {
			is_galactic_community_member = no
			from = { is_galactic_custodian = yes }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
			NOT = { is_at_war_with = FROM }
		}
	}


	### Diplomatic Stances ###

	# Belligerent
	POSITIVE_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_BELLIGERENT_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_BELLIGERENT_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_BELLIGERENT_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_BELLIGERENT_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_BELLIGERENT_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	NEGATIVE_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_BELLIGERENT_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_BELLIGERENT_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_BELLIGERENT_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_BELLIGERENT_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_BELLIGERENT_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HIVE_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_BELLIGERENT_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_BELLIGERENT_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_BELLIGERENT_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_BELLIGERENT_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_BELLIGERENT_GREETING_02 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_BELLIGERENT_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_BELLIGERENT_GREETING_04 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_belligerent
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}

	# Cooperative
	POSITIVE_COOPERATIVE_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_COOPERATIVE_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_COOPERATIVE_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_COOPERATIVE_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_COOPERATIVE_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_COOPERATIVE_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	NEGATIVE_COOPERATIVE_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_COOPERATIVE_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_COOPERATIVE_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_COOPERATIVE_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_COOPERATIVE_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_COOPERATIVE_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HIVE_COOPERATIVE_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_COOPERATIVE_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_COOPERATIVE_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_COOPERATIVE_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_COOPERATIVE_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_COOPERATIVE_GREETING_02 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_COOPERATIVE_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_COOPERATIVE_GREETING_04 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_cooperative
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}

	# Isolationist
	POSITIVE_ISOLATIONIST_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_ISOLATIONIST_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_ISOLATIONIST_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_ISOLATIONIST_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_ISOLATIONIST_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_ISOLATIONIST_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	NEGATIVE_ISOLATIONIST_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_ISOLATIONIST_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_ISOLATIONIST_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_ISOLATIONIST_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_ISOLATIONIST_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_ISOLATIONIST_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HIVE_ISOLATIONIST_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_ISOLATIONIST_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_ISOLATIONIST_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_ISOLATIONIST_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_ISOLATIONIST_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_ISOLATIONIST_GREETING_02 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_ISOLATIONIST_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_ISOLATIONIST_GREETING_04 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_isolationist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}

	# Expansionist
	POSITIVE_EXPANSIONIST_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_EXPANSIONIST_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_EXPANSIONIST_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_EXPANSIONIST_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_EXPANSIONIST_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	POSITIVE_EXPANSIONIST_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	NEGATIVE_EXPANSIONIST_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_EXPANSIONIST_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_EXPANSIONIST_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_EXPANSIONIST_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_EXPANSIONIST_GREETING_05 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	NEGATIVE_EXPANSIONIST_GREETING_06 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_at_war_with = FROM
			}
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	HIVE_EXPANSIONIST_GREETING_01 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_EXPANSIONIST_GREETING_02 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_EXPANSIONIST_GREETING_03 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	HIVE_EXPANSIONIST_GREETING_04 = {
		weight = {
			weight = 0.5
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_hive_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_EXPANSIONIST_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_EXPANSIONIST_GREETING_02 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_EXPANSIONIST_GREETING_03 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	MACHINE_EXPANSIONIST_GREETING_04 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_policy_flag = diplo_stance_expansionist
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
		}
	}
	# Crisis
	CRISIS_MATERIALIST_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_materialist = yes }
		}
	}
	CRISIS_SPIRITUALIST_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_spiritualist = yes }
		}
	}
	CRISIS_PACIFIST_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_pacifist = yes }
		}
	}
	CRISIS_MILITARIST_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_militarist = yes }
		}
	}
	CRISIS_AUTHORITARIAN_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_authoritarian = yes }
		}
	}
	CRISIS_EGALITARIAN_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_egalitarian = yes }
		}
	}
	CRISIS_XENOPHOBE_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_xenophobe = yes }
		}
	}
	CRISIS_XENOPHILE_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_xenophile = yes }
		}
	}
	CRISIS_MACHINE_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_machine_empire = yes }
		}
	}
	CRISIS_HIVE_GREETING_01 = {
		weight = {
			weight = 500
		}
		trigger = {
			has_crisis_level = crisis_level_5
			FROM = { is_hive_empire = yes }
		}
	}

	### PRE-FTL GREETINGS

	# Low or No Awareness
	PRE_FTL_UNAWARE_GREETING_01 = { # "..." (fallback)
		trigger = {
			is_country_type = primitive
			OR = {
				is_gestalt = yes
				AND = {
					pre_ftl_ancient_era = yes
					has_awareness < 60
					# current_awareness_level <= low
				}
			}
		}
	}
	PRE_FTL_UNAWARE_GREETING_02 = { # "..?"
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < low
			OR = {
				is_hive_empire = yes
				pre_ftl_ancient_era = yes
			}
		}
	}
	PRE_FTL_UNAWARE_GREETING_03 = { # partial conversation: stargazing
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_gestalt = no
		}
	}
	PRE_FTL_UNAWARE_GREETING_04 = { # partial conversation: dismissive of stargazing
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_gestalt = no
			pre_ftl_ancient_era = no
		}
	}
	PRE_FTL_UNAWARE_GREETING_05 = { # partial conversation: loneliness
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_gestalt = no
			pre_ftl_ancient_era = no
		}
	}
	PRE_FTL_UNAWARE_SPIRITUALIST_GREETING_01 = { # partial conversation: miracle
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_spiritualist = yes
		}
	}
	PRE_FTL_UNAWARE_SPIRITUALIST_GREETING_02 = { # partial prayer
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_spiritualist = yes
		}
	}
	PRE_FTL_UNAWARE_SPIRITUALIST_GREETING_03 = { # superstitious sign
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_spiritualist = yes
		}
	}
	PRE_FTL_UNAWARE_MATERIALIST_GREETING_01 = { # pondering
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_materialist = yes
		}
	}
	PRE_FTL_UNAWARE_MATERIALIST_GREETING_02 = { # partial conversation: Drake equation
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_materialist = yes
		}
	}
	PRE_FTL_UNAWARE_MATERIALIST_GREETING_03 = { # experiment being disrupted
		trigger = {
			is_country_type = primitive
			has_awareness < 30
			# current_awareness_level < medium
			is_materialist = yes
			OR = {
				pre_ftl_victorian_era = yes
				pre_ftl_modern_era = yes
			}
		}
	}

	# Medium Awareness
	PRE_FTL_PARTAWARE_GREETING_HIVE_01 = {
		trigger = {
			is_country_type = primitive
			is_gestalt = yes
			current_awareness_level = medium
		}
	}
	PRE_FTL_PARTAWARE_GREETING_HIVE_02 = {
		trigger = {
			is_country_type = primitive
			is_gestalt = yes
			current_awareness_level = medium
		}
	}
	PRE_FTL_PARTAWARE_GREETING_01 = {
		trigger = {
			is_country_type = primitive
			is_gestalt = no
			current_awareness_level = medium
		}
	}

	# High or Full Awareness
	PRE_FTL_SPIRITUALIST_GREETING_01 = {
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			# current_awareness_level > high
			is_spiritualist = yes
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}
	PRE_FTL_FRIENDLY_GREETING_01 = {
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			# current_awareness_level > high
			is_spiritualist = no
			NAND = {
				has_country_flag = unplugged_pre_ftl_empire_flag
				from = { has_origin = origin_unplugged }
			}
		}
	}

	# "Unplugged" Origin ('The Injured')
	PRE_FTL_UNPLUGGED_GREETING_01 = { # patronizing
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			has_country_flag = unplugged_pre_ftl_empire_flag
			from = { has_origin = origin_unplugged }
		}
	}
	PRE_FTL_UNPLUGGED_GREETING_02 = { # early onset Butlerianism
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			has_country_flag = unplugged_pre_ftl_empire_flag
			NOT = { is_fanatic_materialist = yes }
			from = { has_origin = origin_unplugged }
		}
	}
	PRE_FTL_UNPLUGGED_GREETING_03 = { # reconstruction efforts
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			has_country_flag = unplugged_pre_ftl_empire_flag
			from = { has_origin = origin_unplugged }
			years_passed < 100
		}
	}
	PRE_FTL_UNPLUGGED_GREETING_04 = { # still rebuilding
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			has_country_flag = unplugged_pre_ftl_empire_flag
			from = { has_origin = origin_unplugged }
			years_passed < 30
		}
	}
	PRE_FTL_UNPLUGGED_GREETING_05 = { # do those augments hurt?
		trigger = {
			is_country_type = primitive
			has_awareness >= 60
			has_country_flag = unplugged_pre_ftl_empire_flag
			from = { is_unplugged_cyborg_empire = yes }
		}
	}


	# ==========================================
	# NOMAD GREETINGS
	# _FROM = ROOT is Nomadic, FROM is not
	# _TO   = FROM is Nomadic, ROOT is not
	# _BOTH = both ROOT and FROM are Nomadic
	# ==========================================

	### HOSTILE GREETINGS

	01_NOMAD_HOSTILE_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_HOSTILE_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_HOSTILE_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_HOSTILE_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_HOSTILE_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_HOSTILE_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	01_NOMAD_HOSTILE_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_HOSTILE_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_HOSTILE_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_HOSTILE_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_HOSTILE_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_HOSTILE_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	01_NOMAD_HOSTILE_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_HOSTILE_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_HOSTILE_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_HOSTILE_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_HOSTILE_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_HOSTILE_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_hostile_to = FROM
				is_domineering_to = FROM
				is_unfriendly_to = FROM
			}
		}
	}

	### NEUTRAL GREETINGS

	01_NOMAD_NEUTRAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_NEUTRAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = {
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_NEUTRAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			NOT = {
				is_at_war_with = FROM
			}
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_NEUTRAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_NEUTRAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_NEUTRAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	01_NOMAD_NEUTRAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_NEUTRAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_NEUTRAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_NEUTRAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_NEUTRAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_NEUTRAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	01_NOMAD_NEUTRAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_NEUTRAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_NEUTRAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_NEUTRAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_NEUTRAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_NEUTRAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_neutral_to = FROM
				is_threatened_to = FROM
			}
		}
	}

	### FRIENDLY GREETINGS

	01_NOMAD_FRIENDLY_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_FRIENDLY_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { is_nomadic = no }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_FRIENDLY_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_FRIENDLY_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_FRIENDLY_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_FRIENDLY_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	01_NOMAD_FRIENDLY_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_FRIENDLY_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_FRIENDLY_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_FRIENDLY_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_FRIENDLY_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_FRIENDLY_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	01_NOMAD_FRIENDLY_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_FRIENDLY_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_FRIENDLY_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_FRIENDLY_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_FRIENDLY_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_FRIENDLY_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_friendly_to = FROM
				is_cordial_to = FROM
				is_protective_to = FROM
			}
		}
	}

	### WAR GREETINGS

	01_NOMAD_WAR_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_at_war_with = FROM
		}
	}
	02_MACHINE_NOMAD_WAR_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_at_war_with = FROM
		}
	}
	02_HIVE_NOMAD_WAR_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			is_at_war_with = FROM
		}
	}
	03_MEGACORP_NOMAD_WAR_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_at_war_with = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_WAR_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_at_war_with = FROM
		}
	}
	05_MILITARIST_NOMAD_WAR_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_at_war_with = FROM
		}
	}

	01_NOMAD_WAR_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_at_war_with = FROM
		}
	}
	02_MACHINE_NOMAD_WAR_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			is_at_war_with = FROM
		}
	}
	02_HIVE_NOMAD_WAR_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			is_at_war_with = FROM
		}
	}
	03_MEGACORP_NOMAD_WAR_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			is_at_war_with = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_WAR_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			is_at_war_with = FROM
		}
	}
	05_MILITARIST_NOMAD_WAR_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			is_at_war_with = FROM
		}
	}

	01_NOMAD_WAR_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_at_war_with = FROM
		}
	}
	02_MACHINE_NOMAD_WAR_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			is_at_war_with = FROM
		}
	}
	02_HIVE_NOMAD_WAR_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			is_at_war_with = FROM
		}
	}
	03_MEGACORP_NOMAD_WAR_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			is_at_war_with = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_WAR_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			is_at_war_with = FROM
		}
	}
	05_MILITARIST_NOMAD_WAR_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			is_at_war_with = FROM
		}
	}

	### ARROGANT GREETINGS

	01_NOMAD_ARROGANT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_ARROGANT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_ARROGANT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_ARROGANT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_ARROGANT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_ARROGANT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}

	01_NOMAD_ARROGANT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	02_MACHINE_NOMAD_ARROGANT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	02_HIVE_NOMAD_ARROGANT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_ARROGANT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_ARROGANT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_ARROGANT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}

	01_NOMAD_ARROGANT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	02_GESTALT_NOMAD_ARROGANT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	03_MEGACORP_NOMAD_ARROGANT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	04_SPIRITUALIST_NOMAD_ARROGANT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}
	05_MILITARIST_NOMAD_ARROGANT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			OR = {
				is_arrogant_to = FROM
				is_imperious_to = FROM
			}
		}
	}

	### BELLIGERENT GREETINGS

	01_NOMAD_BELLIGERENT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	02_MACHINE_NOMAD_BELLIGERENT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	02_HIVE_NOMAD_BELLIGERENT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	03_MEGACORP_NOMAD_BELLIGERENT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_BELLIGERENT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	05_MILITARIST_NOMAD_BELLIGERENT_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}

	01_NOMAD_BELLIGERENT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	02_MACHINE_NOMAD_BELLIGERENT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	02_HIVE_NOMAD_BELLIGERENT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	03_MEGACORP_NOMAD_BELLIGERENT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_BELLIGERENT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	05_MILITARIST_NOMAD_BELLIGERENT_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}

	01_NOMAD_BELLIGERENT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	02_MACHINE_NOMAD_BELLIGERENT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	02_HIVE_NOMAD_BELLIGERENT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	03_MEGACORP_NOMAD_BELLIGERENT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_BELLIGERENT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}
	05_MILITARIST_NOMAD_BELLIGERENT_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			NOT = { is_at_war_with = FROM }
			is_belligerent_to = FROM
		}
	}

	### CUSTODIAL GREETINGS

	01_NOMAD_CUSTODIAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { NOT = { is_nomadic = yes } }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_custodial_to = FROM
		}
	}
	02_MACHINE_NOMAD_CUSTODIAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_custodial_to = FROM
		}
	}
	02_HIVE_NOMAD_CUSTODIAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = { NOT = { is_nomadic = yes } }
			is_custodial_to = FROM
		}
	}
	03_MEGACORP_NOMAD_CUSTODIAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_custodial_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_CUSTODIAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_custodial_to = FROM
		}
	}
	05_MILITARIST_NOMAD_CUSTODIAL_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = { NOT = { is_nomadic = yes } }
			is_custodial_to = FROM
		}
	}

	01_NOMAD_CUSTODIAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_custodial_to = FROM
		}
	}
	02_MACHINE_NOMAD_CUSTODIAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			is_custodial_to = FROM
		}
	}
	02_HIVE_NOMAD_CUSTODIAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			is_custodial_to = FROM
		}
	}
	03_MEGACORP_NOMAD_CUSTODIAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			is_custodial_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_CUSTODIAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			is_custodial_to = FROM
		}
	}
	05_MILITARIST_NOMAD_CUSTODIAL_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			is_custodial_to = FROM
		}
	}

	01_NOMAD_CUSTODIAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_custodial_to = FROM
		}
	}
	02_MACHINE_NOMAD_CUSTODIAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			is_custodial_to = FROM
		}
	}
	02_HIVE_NOMAD_CUSTODIAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			is_custodial_to = FROM
		}
	}
	03_MEGACORP_NOMAD_CUSTODIAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			is_custodial_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_CUSTODIAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			is_custodial_to = FROM
		}
	}
	05_MILITARIST_NOMAD_CUSTODIAL_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			is_custodial_to = FROM
		}
	}

	### OVERLORD GREETINGS

	01_NOMAD_OVERLORD_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			FROM = {
				NOT = { is_nomadic = yes }
				is_overlord_to = ROOT
			}
		}
	}
	02_MACHINE_NOMAD_OVERLORD_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			FROM = {
				NOT = { is_nomadic = yes }
				is_overlord_to = ROOT
			}
		}
	}
	02_HIVE_NOMAD_OVERLORD_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			FROM = {
				NOT = { is_nomadic = yes }
				is_overlord_to = ROOT
			}
		}
	}
	03_MEGACORP_NOMAD_OVERLORD_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_megacorp = yes
			FROM = {
				NOT = { is_nomadic = yes }
				is_overlord_to = ROOT
			}
		}
	}
	04_SPIRITUALIST_NOMAD_OVERLORD_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_spiritualist = yes
			FROM = {
				NOT = { is_nomadic = yes }
				is_overlord_to = ROOT
			}
		}
	}
	05_MILITARIST_NOMAD_OVERLORD_GREETING_FROM = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			is_militarist = yes
			FROM = {
				NOT = { is_nomadic = yes }
				is_overlord_to = ROOT
			}
		}
	}

	01_NOMAD_OVERLORD_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_overlord_to = FROM
		}
	}
	02_MACHINE_NOMAD_OVERLORD_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			is_overlord_to = FROM
		}
	}
	02_HIVE_NOMAD_OVERLORD_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			is_overlord_to = FROM
		}
	}
	03_MEGACORP_NOMAD_OVERLORD_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			is_overlord_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_OVERLORD_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			is_overlord_to = FROM
		}
	}
	05_MILITARIST_NOMAD_OVERLORD_GREETING_TO = {
		weight = { weight = 10 }
		trigger = {
			NOT = { is_nomadic = yes }
			FROM = { is_nomadic = yes }
			is_militarist = yes
			is_overlord_to = FROM
		}
	}

	01_NOMAD_OVERLORD_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			NOR = {
				has_ethic = ethic_gestalt_consciousness
				is_megacorp = yes
				is_spiritualist = yes
				is_militarist = yes
			}
			is_overlord_to = FROM
		}
	}
	02_MACHINE_NOMAD_OVERLORD_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = yes
			is_overlord_to = FROM
		}
	}
	02_HIVE_NOMAD_OVERLORD_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			has_ethic = ethic_gestalt_consciousness
			is_machine_empire = no
			is_overlord_to = FROM
		}
	}
	03_MEGACORP_NOMAD_OVERLORD_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_megacorp = yes
			is_overlord_to = FROM
		}
	}
	04_SPIRITUALIST_NOMAD_OVERLORD_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_spiritualist = yes
			is_overlord_to = FROM
		}
	}
	05_MILITARIST_NOMAD_OVERLORD_GREETING_BOTH = {
		weight = { weight = 10 }
		trigger = {
			is_nomadic = yes
			FROM = { is_nomadic = yes }
			is_militarist = yes
			is_overlord_to = FROM
		}
	}
}
