leader_trait_dpe_ruthless = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_legendary_authoritarian_bad"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	leader_potential_add = {
		NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
	}
	leader_class = { official }
	modifier = {
		planet_stability_add = 8
	}
	initial = no
	randomized = no
}


leader_trait_dpe_talented = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_gifted"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	self_modifier = {
		species_leader_exp_gain = 0.25
		councilor_exp_gain = 0.15
		leader_trait_selection_options_add = 2
	}
	leader_potential_add = {
		NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
		
	}
	leader_class = { commander scientist official }
	opposites = { "leader_trait_stubborn" "leader_trait_adaptable" "leader_trait_arrested_development" }
	
	initial = no
	randomized = no
	
	ai_weight = {
		weight = 50
	}
}


dpe_leader_trait_ancient_knowledge = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_scroll"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		all_technology_research_speed = 0.1
	}
	leader_potential_add = {
		NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
		
	}
	leader_class = { scientist }
	
	initial = no
	randomized = no
	
	ai_weight = {
		weight = 50
	}
}


dpe_leader_trait_reinvigorated = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_resilient"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	self_modifier = {
		leader_lifespan_add = 15
	}
	leader_potential_add = {
		NOT = { from = { has_ethic = "ethic_gestalt_consciousness" } }
		
	}
	leader_class = { commander scientist official }
	opposites = { "leader_trait_stubborn" "leader_trait_adaptable" "leader_trait_arrested_development" }
	
	initial = no
	randomized = no

	ai_weight = {
		weight = 50
	}
}


#HW Duel traits

dpe_duel_victor_ruler = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_glory_seeker"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		pop_happiness = 0.05
		pop_ethic_militarist_attraction_mult = 0.2
	}
	
	leader_class = { scientist }
	
	initial = no
	randomized = no
}

dpe_duel_victor_commander = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_glory_seeker"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		ship_fire_rate_mult = 0.1
		army_morale = 0.1
		army_morale_damage_mult = 0.1
	}
	
	leader_class = { commander }
	
	initial = no
	randomized = no
}

dpe_duel_victor_governor = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_glory_seeker"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		ARMY_DEFENSE_DAMAGE_MULT = 0.33
		pop_ethic_militarist_attraction_mult = 0.33
	}
	
	leader_class = { official }
	
	initial = no
	randomized = no
}

dpe_duel_loser_ruler = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_dpe_wooden_spoon"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		pop_happiness = -0.05
		pop_ethic_militarist_attraction_mult = -0.15
	}
	
	leader_class = { scientist }
	
	initial = no
	randomized = no
}

dpe_duel_loser_commander = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_dpe_wooden_spoon"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		ship_fire_rate_mult = -0.1
	}
	
	leader_class = { commander }
	
	initial = no
	randomized = no
}

dpe_duel_loser_governor = {
	inline_script = {
		script = trait/icon
		CLASS = leader
		ICON = "GFX_leader_trait_dpe_wooden_spoon"
		RARITY = common
		COUNCIL = no
		TIER = none
	}
	modifier = {
		pop_ethic_militarist_attraction_mult = -0.2
	}
	
	leader_class = { official }
	
	initial = no
	randomized = no
}
