##### Types:
# honorbound -> Cares about honor and martial prowess above all else
# capitalist -> Cares about trade and material profit above all else
# hegemon -> Cares about the superiority of their own empire above all else
# ideologue -> Cares about combating opposing ethoses above all else
# isolationist -> Cares about maintaining their isolation from other empires above all else
# federation_builder -> Cares about bringing different species together in a federation above all else
# propagator -> Cares about the propagation of its species above all else
# purifier -> Cares about purifying the galaxy above all else
# explorer -> Cares about discoveries and scientific progress above all else

##### Behaviours:
# conqueror -> Will they conquer planets from other empires?
# subjugator -> Will they vassalise other empires?
# liberator -> Will they liberate conquered empires?
# opportunist -> Are they more likely to attack someone already embroiled in war?
# uplifter -> Will they uplift and enlighten other species?
# infiltrator -> Will they infiltrate primitives?
# dominator -> Will they invade primitives?
# slaver -> Will they enslave pops?
# purger -> Will they purge alien pops?
# robot_exploiter -> Will they use robots for menial labor?
# robot_liberator -> Will they give rights to robots?
# migrator -> Will they want to migrate to other empires?

##### Modifiers:
# aggressiveness -> Chance of declaring wars
# trade_willingness -> At 1.0 willingness they will accept a deal that is equally good for both sides
# bravery -> Affects the chance that they will pick rivals & war targets of similar strength instead of picking on the weak
# military_spending -> Affects mineral & energy budget that goes to navies and armies
# colony_spending -> Affects mineral & energy budget that goes to new colonies

##### Diplomacy:
# alliance_acceptance -> Added directly to chance of accepting an alliance
# federation_acceptance -> Added directly to chance of accepting to form/join a federation

# NOTE: Weight is additive!

fallen_empire_spiritualist = { 
	type = isolationist
	
	aggressiveness = 1.5
	trade_willingness = 0.5
	bravery = 2.0
	
	threat_modifier = 0.0
	friction_modifier = 0.0

	behaviour = {
		conqueror = no
		subjugator = no
		liberator = no
		opportunist = no
		slaver = no
		uplifter = no
		purger = no
		dominator = no
		infiltrator = no
		robot_exploiter = no
		robot_liberator = no
	}
	
	allow = {
		is_country_type = fallen_empire
		has_ethic = "ethic_fanatic_spiritualist"
	}
	
	weight_modifier = {
		weight = 100	
	}
}

fallen_empire_materialist = { 
	type = hegemon
	
	aggressiveness = 1.0
	trade_willingness = 0.75
	bravery = 2.0
	
	threat_modifier = 0.0
	friction_modifier = 0.0

	behaviour = {
		conqueror = no
		subjugator = no
		liberator = yes
		opportunist = no
		slaver = no
		uplifter = no
		purger = no
		dominator = no
		infiltrator = no
		robot_exploiter = no
		robot_liberator = no
	}
	
	allow = {
		is_country_type = fallen_empire
		has_ethic = "ethic_fanatic_materialist"
	}
	
	weight_modifier = {
		weight = 100	
	}
}

fallen_empire_xenophobe = { 
	type = isolationist
	
	aggressiveness = 2.0
	trade_willingness = 0.0
	bravery = 2.0
	
	threat_modifier = 0.0
	friction_modifier = 1.0

	behaviour = {
		conqueror = no
		subjugator = no
		liberator = no
		opportunist = no
		slaver = no
		uplifter = no
		purger = no
		dominator = no
		infiltrator = no
		robot_exploiter = no
		robot_liberator = no
	}
	
	allow = {
		is_country_type = fallen_empire
		has_ethic = "ethic_fanatic_xenophobe"
	}
	
	weight_modifier = {
		weight = 100	
	}
}

fallen_empire_xenophile = { 
	type = explorer
	
	aggressiveness = 0.5
	trade_willingness = 1.0
	bravery = 2.0
	
	threat_modifier = 0.0
	friction_modifier = 0.0

	behaviour = {
		conqueror = no
		subjugator = no
		liberator = yes
		opportunist = no
		slaver = no
		uplifter = no
		purger = no
		dominator = no
		infiltrator = no
		robot_exploiter = no
		robot_liberator = no
	}
	
	allow = {
		is_country_type = fallen_empire
		has_ethic = "ethic_fanatic_xenophile"
	}
	
	weight_modifier = {
		weight = 100	
	}
}